This commit is contained in:
Dmitriy
2025-06-23 01:24:34 +03:00
commit 60b4e0e839
303 changed files with 35737 additions and 0 deletions

15
accounts/urls.py Normal file
View File

@ -0,0 +1,15 @@
from django.urls import path
from django.contrib.auth import views as auth_views
from . import views
app_name = 'accounts'
urlpatterns = [
path('', views.home, name='home'),
path('register/', views.register, name='register'),
path('register/instructor/', views.register_instructor, name='register_instructor'),
path('profile/', views.profile, name='profile'),
path('profile/update/', views.profile_update, name='profile_update'),
path('login/', auth_views.LoginView.as_view(template_name='accounts/login.html'), name='login'),
path('logout/', auth_views.LogoutView.as_view(template_name='accounts/logout.html'), name='logout'),
]