feat: add school management auth and student CRUD UI
This commit is contained in:
21
students/urls.py
Normal file
21
students/urls.py
Normal 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'),
|
||||
]
|
||||
Reference in New Issue
Block a user