-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.py
20 lines (18 loc) · 1008 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from django.urls import path
from . import views
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
path('', views.dashboard, name="dashboard"),
path('create_mentor', views.createMentor, name="create_mentor"),
path('mentors_table', views.mentorsTable, name="mentors_table"),
path('update_mentor/<str:pk>', views.updateMentor, name="update_mentor"),
path('delete_mentor/<str:pk>', views.deleteMentor, name="delete_mentor"),
path('create_group', views.createGroup, name="create_group"),
path('update_group/<str:pk>', views.updateGroup, name="update_group"),
path('delete_group/<str:pk>', views.deleteGroup, name="delete_group"),
path('groups_table', views.groupsTable, name="groups_table"),
path('reg', views.registerPage, name="reg"),
path('log', views.loginPage, name="log"),
path('logout/', views.logoutuser, name="logout")
]+ static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)