feat: add school management auth and student CRUD UI

This commit is contained in:
Sina
2026-09-24 23:34:21 +03:30
parent 12e9efcb5c
commit 8a196f8c4f
20 changed files with 326 additions and 9 deletions

21
students/urls.py Normal file
View File

@@ -0,0 +1,21 @@
from django.urls import path
from .views import (
DashboardView,
ManagerLoginView,
ManagerLogoutView,
ManagerSignupView,
StudentCreateView,
StudentDeleteView,
StudentUpdateView,
)
urlpatterns = [
path('', DashboardView.as_view(), name='dashboard'),
path('login/', ManagerLoginView.as_view(), name='login'),
path('signup/', ManagerSignupView.as_view(), name='signup'),
path('logout/', ManagerLogoutView.as_view(), name='logout'),
path('students/add/', StudentCreateView.as_view(), name='student_add'),
path('students/<int:pk>/edit/', StudentUpdateView.as_view(), name='student_edit'),
path('students/<int:pk>/delete/', StudentDeleteView.as_view(), name='student_delete'),
]