urls.py 659 B

12345678910111213141516
  1. from django.urls import path, include
  2. from . import views
  3. urlpatterns = [
  4. path('', views.index, name='index'),
  5. path('my-events', views.my_events, name='my-events'),
  6. path('about', views.about, name='about'),
  7. path('create-event', views.create_event, name='create-event'),
  8. path('<str:url>/login', views.login, name='login'),
  9. path('<str:url>/logout', views.logout, name='logout'),
  10. path('<str:url>/update-slots', views.update_slots, name='update-slots'),
  11. path('<str:url>/event', views.event_api, name='event-api'),
  12. path('<str:url>/slots', views.slots_api, name='slots-api'),
  13. path('<str:url>', views.event, name='event'),
  14. ]