If a newly entered Teil already exists, we ignore that and do nothing. "name" could become a primary key...
12 lines
293 B
Python
12 lines
293 B
Python
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
app_name = "collector"
|
|
|
|
urlpatterns = [
|
|
path("", views.index, name="index"),
|
|
path("recorded/<int:teil_id>/", views.detail, name="detail"),
|
|
path("enter/", views.enter, name="enter"),
|
|
path("all/", views.list_all, name="all"),
|
|
]
|