mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-08 03:03:44 +02:00
13 lines
492 B
Python
13 lines
492 B
Python
from django.urls import path
|
|
|
|
from days import views
|
|
|
|
urlpatterns=[
|
|
path("", views.list_day_redirect, name="daylist"),
|
|
path("add", views.DayCreateView.as_view(), name="dayadd"),
|
|
path("add/session", views.SessionCreateView.as_view(), name="sessionadd"),
|
|
path("<int:day>", views.DayDetailView.as_view(), name="daydetail"),
|
|
path("<int:day>/edit", views.DayEditView.as_view(), name="dayedit"),
|
|
path("<int:day>/delete", views.DayDeleteView.as_view(), name="daydelete"),
|
|
|
|
]
|