How shrutijind/student_project works
EduLeave is a Django student directory, attendance, and leave-management application. Users register or sign in, then reach role-specific dashboards: staff manage student records and attendance and review leave requests; students submit and track their own requests. The views coordinate form validation, model persistence, and dashboard rendering. The README documents these major capabilities, while sampled source confirms the route, view, form, and model interactions; individual template wiring is not fully sampled.
Main entry points: views.py Request workflows · models.py Student & leave models · student_project/urls.py Project routes · students/urls.py Student routes
Components 12
Web entry
- Project routes
student_project/urls.py - Student routes
students/urls.py
Identity
- Django authentication
School workflows
- Request workflows
students/views.py - Validation forms
students/forms.py - Student & leave models
students/models.py - Application database
student_project/settings.py
Presentation
- Dashboards & forms
students/templates/students - Browser interactions
students/static/students/js/main.js
Other components
- Student
- Teacher / Admin
- Web browser
Connections 13
- Web browser → Project routes: requests routes
- Project routes → Student routes: includes routes
- Student routes → Request workflows: dispatches to
- Request workflows → Django authentication: authenticates users
- Request workflows → Validation forms: validates input
- Validation forms → Student & leave models: creates or updates
- Request workflows → Student & leave models: queries and changes
- Student & leave models → Application database: persists records
- Request workflows → Dashboards & forms: renders pages
- Dashboards & forms → Web browser: returns pages
- Student → Web browser: uses application
- Teacher / Admin → Web browser: uses application
- Browser interactions → Web browser: updates page behavior