[collector views] switch some views to class-based ones

This commit is contained in:
bronsen 2025-03-13 19:03:57 +01:00
parent 59596f3064
commit 6386d25fff
2 changed files with 17 additions and 17 deletions

View file

@ -5,8 +5,8 @@ from . import views
app_name = "collector"
urlpatterns = [
path("", views.index, name="index"),
path("recorded/<int:teil_id>/", views.detail, name="detail"),
path("", views.IndexView.as_view(), name="index"),
path("recorded/<int:pk>/", views.DetailView.as_view(), name="detail"),
path("enter/", views.enter, name="enter"),
path("all/", views.list_all, name="all"),
path("all/", views.ListView.as_view(), name="all"),
]