from django.urls import path


from . import views
urlpatterns = [
    path('login/',views.loginPage,name='login'),
    path('logout/',views.logoutUser,name='logout'),
    path('register/',views.registerPage,name='register'),

    path('', views.home, name='home'),
    path('room/<str:pk>',views.room, name='room'),
    path('profile/<str:pk>',views.userProfile, name='profile'),

    path('create-room/',views.createRoom, name='createroom'),
    path('update-room/<str:pk>',views.updateRoom, name='updateroom'),
    path('delete-room/<str:pk>',views.deleteRoom, name='deleteroom'),
    path('delete-message/<str:pk>',views.deleteMessage, name='deletemessage'),

    path('update-user/',views.updateUser, name='updateuser'),

    path('topics/',views.topicPage, name='topics'),

    path('activities/',views.activityPage, name='activities'),
]
