from django.urls import path, include from . import views urlpatterns = [ path('', views.index, name='index'), path('my-events', views.my_events, name='my-events'), path('about', views.about, name='about'), path('create-event', views.create_event, name='create-event'), path('/login', views.login, name='login'), path('/logout', views.logout, name='logout'), path('/update-slots', views.update_slots, name='update-slots'), path('/event', views.event_api, name='event-api'), path('/slots', views.slots_api, name='slots-api'), path('', views.event, name='event'), ]