First commit
This commit is contained in:
commit
440f5a7df4
1563 changed files with 217996 additions and 0 deletions
19
users/urls.py
Normal file
19
users/urls.py
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# webapp/auth/urls.py
|
||||
|
||||
from django.urls import path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('', views.register, name='register'),
|
||||
path('login/', views.login, name='login'),
|
||||
path('logout/', views.logout, name='logout'),
|
||||
path('profile/view/<int:user_id>/', views.another_profile, name='another_profile'),
|
||||
path('complete-profile/', views.complete_profile, name='complete_profile'),
|
||||
path('profile/', views.profile, name='profile'),
|
||||
path('profile/update', views.profile_update, name='profile_update'),
|
||||
path('profile/account/update', views.account_update, name='account_update'),
|
||||
path('profile/account/mycourses', views.my_courses, name='user_courses'),
|
||||
path('profile/page/post', views.create_post, name='profile_create_post'),
|
||||
path('profile/<path:page>', views.profile, name='profile_page'),
|
||||
path('profile/<int:user_id>/<path:page>/', views.profile, name='profile_id_page'),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue