-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
22 lines (17 loc) · 870 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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="user-profile"),
path('create-room/', views.createRoom, name="create-room"),
path('update-room/<str:pk>/', views.updateRoom, name="update-room"),
path('delete-room/<str:pk>/', views.deleteRoom, name="delete-room"),
path('delete-message/<str:pk>/', views.deleteMessage, name="delete-message"),
path('update-user/', views.updateUser, name="update-user"),
path('topics/', views.topicsPage, name="topics"),
path('activity/', views.activityPage, name="activity"),
]