urls.py 537 B

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