kers/events/urls.py

11 lines
282 B
Python
Raw Normal View History

2020-07-21 22:24:45 +02:00
from django.urls import path
from . import views
2020-07-22 04:08:30 +02:00
app_name = "events"
2020-07-21 22:24:45 +02:00
urlpatterns = [
2020-07-22 04:08:30 +02:00
path("", views.index, name="index"),
2020-08-04 03:32:02 +02:00
path("<int:timeslot_id>/register", views.register, name="register"),
path("<int:timeslot_id>/deregister", views.deregister, name="deregister"),
2020-07-21 22:24:45 +02:00
]