from django.urls import path from .views.login import Login, Logout, Change_password, Logout_all_devices from .views.index import Index, Issue_books, View_assignment, View_attandance, Scheduled_class, View_marks, View_syllabus, View_documents from .views.events import All_notice, Events, Apply_leave, All_leaves, View_notification, Send_feedback, view_feedback, Delete_feedback from .views.fee import PayFee, View_Fee, handlerequest, Get_invoice from admins.middleware.auth import auth_middleware urlpatterns = [ path('login/', Login.as_view(), name="login"), path('change_password/', auth_middleware(Change_password.as_view()), name="change_password"), path('logout/', Logout.as_view(), name="logout"), path('logout-from-all-devices/', Logout_all_devices.as_view(), name="logout_all_devices"), #Index path('', auth_middleware(Index.as_view()), name="student_home"), path('view_documents/', auth_middleware(View_documents.as_view()), name="student_view_documents"), path('view_issue_books/', auth_middleware(Issue_books.as_view()), name='issue_books'), path('assignment/', auth_middleware(View_assignment.as_view()), name='view_assignment'), path('view_marks/', auth_middleware(View_marks.as_view()), name='view_marks'),
from django.urls import path from .views import Index, All_notice, Apply_leave, View_leave, Change_password, Events, View_attandance from admins.middleware.auth import auth_middleware urlpatterns = [ path('', auth_middleware(Index.as_view()), name="sports_home"), path('change_password', auth_middleware(Change_password.as_view()), name="sports_change_password"), path('events/', auth_middleware(Events.as_view()), name='sports_events'), path('apply_leave/', auth_middleware(Apply_leave.as_view()), name="sports_apply_leave"), path('view_leave', auth_middleware(View_leave.as_view()), name="sports_view_leave"), path('notice', auth_middleware(All_notice.as_view()), name="sports_notice"), path('view_attandance', auth_middleware(View_attandance.as_view()), name="sports_view_attandance"), ]
from django.urls import path from .views.books import Add_books, All_books, Edit_book, Delete_book, Issue_books, search_user, All_issue_book, Delete_issue_books from .views.index import Index, Apply_leave, View_leave, All_notice, Change_password, Events, View_attandance, View_notification, Send_Notification, Profile, Update_profile from admins.middleware.auth import auth_middleware urlpatterns = [ path('', auth_middleware(Index.as_view()), name="library_index"), path('profile/', auth_middleware(Profile.as_view()), name="library_profile"), path('profile/update-profile/', auth_middleware(Update_profile.as_view()), name="library_update_profile"), path('apply_leave/', auth_middleware(Apply_leave.as_view()), name="library_apply_leave"), path('view_leave/', auth_middleware(View_leave.as_view()), name="library_view_leave"), path('notice/', auth_middleware(All_notice.as_view()), name="library_notice"), path('change_password/', auth_middleware(Change_password.as_view()), name="library_change_password"), path('events/', auth_middleware(Events.as_view()), name='library_event'), path('send-notification/', auth_middleware(Send_Notification.as_view()), name='library_send_notification'), path('view-notification/', auth_middleware(View_notification.as_view()),
from django.urls import path from .views.index import Index, Issue_books, Upload_assignment, View_assignment, Delete_assign, Schedule_class, View_schedule_class, Delete_schedule_class from .views.event import Events, All_notice, Apply_leave, View_leave, Students_leave, student_leave_status from .views.login import Login, Change_password from .views.students import All_students, Student_info, Update_student_attandance, View_students_attandance, Attandance, View_attandance, Upload_marks, Save_student_marks, View_marks from .views.students import update_student_mark from admins.middleware.auth import auth_middleware urlpatterns = [ path('', auth_middleware(Index.as_view()), name="teacher_home"), # login path('login/', Login.as_view(), name="teacher_login"), path('change_password/', auth_middleware(Change_password.as_view()), name="teacher_change_password"), #index path('view_issue_books', auth_middleware(Issue_books.as_view()), name="teacher_issue_books"), path('upload_assignment/', auth_middleware(Upload_assignment.as_view()), name="upload_assignment"), path('assignments/', auth_middleware(View_assignment.as_view()), name="assignment"), path('delete_assignment/<int:pk>/', auth_middleware(Delete_assign.as_view()), name="delete_assignment"), path('schedule_class/',
from django.urls import path from .views.login import Login, Logout, Change_password from .views.index import Index, Issue_books, View_assignment, View_attandance, Scheduled_class, View_marks from .views.events import All_notice, Events, Apply_leave, All_leaves from admins.middleware.auth import auth_middleware urlpatterns = [ path('', auth_middleware(Index.as_view()) , name= "student_home"), path('login/', Login.as_view() , name= "login"), path('change_password/', auth_middleware(Change_password.as_view()) , name= "change_password"), path('logout/', Logout.as_view() , name= "logout"), path('view_issue_books/',auth_middleware(Issue_books.as_view()), name='issue_books' ), path('assignment/',auth_middleware(View_assignment.as_view()), name='view_assignment' ), path('view_marks/',auth_middleware(View_marks.as_view()), name='view_marks' ), path('view_attandance/',auth_middleware(View_attandance.as_view()), name='view_attandance' ), path('classess/',auth_middleware(Scheduled_class.as_view()), name='classess' ), #notice path('events/', auth_middleware(Events.as_view()), name='student_events'), path('notice/', auth_middleware(All_notice.as_view()) , name= "student_notice"), path('apply_leave/', auth_middleware(Apply_leave.as_view()), name="apply_leave" ), path('view_leave/', auth_middleware(All_leaves.as_view()), name="view_leave" ), ]