from django.urls import path from apps.events.views import ( EventListCreateView, EventDetailView, EventRegisterView, EventCancelRegistrationView, EventRegistrationsListView, EventCalendarView, ) urlpatterns = [ path('', EventListCreateView.as_view(), name='event-list-create'), path('calendar/', EventCalendarView.as_view(), name='event-calendar'), path('/', EventDetailView.as_view(), name='event-detail'), path('/register/', EventRegisterView.as_view(), name='event-register'), path('/cancel-registration/', EventCancelRegistrationView.as_view(), name='event-cancel-registration'), path('/registrations/', EventRegistrationsListView.as_view(), name='event-registrations-list'), ]