This commit is contained in:
Ross
2025-12-09 10:32:24 +00:00
parent 1d66ab185a
commit 3f73316dbf
9 changed files with 330 additions and 6 deletions
+4
View File
@@ -6,7 +6,11 @@ app_name = "rota"
urlpatterns = [
path("", views.index, name="index"),
path("rota/add/", views.rota_create, name="rota_add"),
path("rota/<int:rota_id>/", views.rota_detail, name="rota_detail"),
path("rota/<int:rota_id>/shift/add/", views.shift_add, name="shift_add"),
path("rota/<int:rota_id>/shift/<int:idx>/edit/", views.shift_edit, name="shift_edit"),
path("rota/<int:rota_id>/shift/<int:idx>/delete/", views.shift_delete, name="shift_delete"),
path("worker/add/", views.worker_create, name="worker_add"),
path("worker/<int:worker_id>/", views.worker_detail, name="worker_detail"),
path("run/<int:run_id>/", views.rota_run_detail, name="rota_run_detail"),