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-07-25 14:30:53 +02:00
|
|
|
path("<int:event_id>/register", views.register, name="register"),
|
|
|
|
path("<int:event_id>/deregister", views.deregister, name="deregister"),
|
2020-07-21 22:24:45 +02:00
|
|
|
]
|