11 lines
276 B
Python
11 lines
276 B
Python
|
from django.urls import path
|
||
|
|
||
|
from . import views
|
||
|
|
||
|
app_name = "events"
|
||
|
urlpatterns = [
|
||
|
path("", views.index, name="index"),
|
||
|
path("<int:event_id>/register", views.register, name="register"),
|
||
|
path("<int:event_id>/deregister", views.deregister, name="deregister"),
|
||
|
]
|