from django.urls import path
from .views import Login, Logout, Signup, home
from events import views

urlpatterns = [
	path('', home, name='home'),
    path('signup/', Signup.as_view(), name='signup'),
    path('login/', Login.as_view(), name='login'),
    path('logout/', Logout.as_view(), name='logout'),
    path('dashboard/', views.dashboard, name='dashboard'),
    path('detail/<int:event_id>/', views.event_detail, name='detail'),
    path('create/', views.event_create, name='create'),
    path('update/<int:event_id>/', views.event_update, name='update'),
    path('delete/<int:event_id>/', views.event_delete, name='delete'),
    path('no/access', views.access, name='no-access'),
    

]