Files
django-dav-events/dav_event_office/urls.py
heinzel 8610e2a557
All checks were successful
buildbot/tox Build done.
BIG UPD: migrate to python 3.10 and django 3.2
2022-06-07 16:07:08 +02:00

13 lines
400 B
Python

from django.conf.urls import url
from . import views
app_name = 'dav_event_office'
urlpatterns = [
url(r'^home$', views.HomeView.as_view(), name='root'),
url(r'^participants$', views.ParticipantListView.as_view(), name='participant-list'),
url(r'^$', views.EventListView.as_view(), name='event-list'),
url(r'^(?P<pk>\d+)/', views.EventDetailView.as_view(), name='event-detail'),
]