-
Notifications
You must be signed in to change notification settings - Fork 25
/
urls.py
32 lines (29 loc) · 1.29 KB
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
from django.urls import path
from . import views
urlpatterns = [
path('', views.landing, name='landing'),
path('profiles/', views.profiles, name='profiles'),
path('landing/', views.landingLogin, name='landingLogin'),
path('login/', views.loginUser, name='login'),
path('logout/', views.logoutUser, name='logout'),
path('register/', views.registerUser, name='register'),
path('profile/<str:username>/', views.userProfile,
name='user-profile'),
path('follow/<str:username>/', views.follow_unfollow,
name='follow-unfollow'),
path('account/', views.userAccount, name='account'),
path('edit-account/', views.editAccount,
name='edit-account'),
path('create-interest/', views.createInterest,
name='create-interest'),
path('update-interest/<slug:interest_slug>/',
views.updateInterest, name='update-interest'),
path('delete-interest/<slug:interest_slug>/',
views.deleteInterest, name='delete-interest'),
path('interest/<slug:interest_slug>',
views.profiles_by_interest, name='interest'),
path('inbox/', views.inbox, name='inbox'),
path('message/<str:pk>/', views.viewMessage, name='message'),
path('create-message/<str:username>/',
views.createMessage, name='create-message'),
]