How phurhard/schoolportal works
School Portal is an early-stage Django school-management application. Its main workflow is account registration and login, followed by student subject selection and access to results or teacher entry of continuous-assessment scores; the README describes PDF result output as a capability. The model layer defines users, classes, subjects and assessments. Edges reflect the sampled views, forms, models and URL declarations; unsampled wiring and behaviors are not inferred.
Main entry points: models.py School domain models · Authentication/views.py Account workflows · Student/views.py Student workflows · Staff/views.py Teacher workflows
Components 16
Accounts
- Account routes
Authentication/urls.py - Account workflows
Authentication/views.py - Account forms
Authentication/forms.py - Registration number
Authentication/matric_no_generator.py
School data
- School domain models
main/models.py - Application database
- Portal routes
main/urls.py - Public school views
main/views.py
Student portal
- Student routes
Student/urls.py - Student workflows
Student/views.py - Subject serializer
Student/serializers.py - PDF rendering library
Teacher portal
- Staff routes
Staff/urls.py - Teacher workflows
Staff/views.py - Teacher access guard
Staff/decorators.py
Other components
- Portal user
Connections 18
- Portal user → Account routes: requests account
Authentication/urls.py - Account routes → Account workflows: dispatches
Authentication/urls.py - Account workflows → Account forms: validates forms
Authentication/views.py - Account workflows → Registration number: generates identifier
Authentication/views.py - Account workflows → School domain models: reads and saves
Authentication/views.py - Portal user → Portal routes: requests portal
main/urls.py - Portal routes → Public school views: dispatches
main/urls.py - Public school views → School domain models: queries records
main/views.py - Portal user → Student routes: requests student pages
Student/urls.py - Student routes → Student workflows: dispatches
Student/urls.py - Student workflows → School domain models: reads and updates
Student/views.py - Student workflows → Subject serializer: serializes subjects
Student/views.py - Student workflows → PDF rendering library: renders result PDF
Student/views.py - Portal user → Staff routes: requests staff pages
Staff/urls.py - Staff routes → Teacher workflows: dispatches
Staff/urls.py - Teacher workflows → Teacher access guard: guards teacher views
Staff/views.py - Teacher workflows → School domain models: reads and updates scores
Staff/views.py - School domain models → Application database: defines persisted data