How sekharb04/scms-project works
SCMS is a Django student complaint management system. Students register or sign in, submit and track complaints; staff manage assigned cases, while administrators review, resolve, and escalate them. Complaint records carry status, priority, SLA, comments, and escalation history. Background tasks check SLA breaches, auto-escalate overdue cases, assign pending work, and report statistics. The README documents role-based access and centralized history; the sampled views, models, and tasks clarify the core implementation. Some routing, signal behavior, and database wiring are not shown in excerpts, so those links are omitted.
Main entry points: complaints/views.py Complaint Views · accounts/views.py Account Views · complaints/models.py Complaint Records · accounts/models.py User Roles
Components 18
Accounts and Access
- Account Views
complaint_system/accounts/views.py - Auth Forms
complaint_system/accounts/forms.py - User Roles
complaint_system/accounts/models.py - Account Admin
complaint_system/accounts/admin.py
Complaint Workflow
- Complaint Views
complaint_system/complaints/views.py - Complaint Forms
complaint_system/complaints/forms.py - Complaint Records
complaint_system/complaints/models.py - Workflow Signals
complaint_system/complaints/signals.py - Django Admin
complaint_system/complaints/admin.py
SLA and Oversight
- SLA and Assignment Tasks
complaint_system/complaints/tasks.py - SQLite
Web Interface
- Account Pages
complaint_system/accounts/templates/accounts - Complaint Pages
complaint_system/complaints/templates/complaints - Shared Pages
complaint_system/templates - Browser Helpers
complaint_system/static/js/main.js
Other components
- Student
- Staff
- Administrator
Connections 22
- Student → Account Views: registers or signs in
complaint_system/accounts/views.py - Staff → Account Views: signs in
complaint_system/accounts/views.py - Administrator → Account Views: signs in
complaint_system/accounts/views.py - Account Views → Auth Forms: validates credentials
complaint_system/accounts/views.py - Account Views → User Roles: creates users
complaint_system/accounts/views.py - Account Views → Complaint Views: redirects by role
complaint_system/accounts/views.py - Account Views → Account Pages: renders
complaint_system/accounts/views.py - Student → Complaint Views: submits and tracks
README.md - Staff → Complaint Views: updates assigned cases
README.md - Administrator → Complaint Views: reviews and escalates
README.md - Complaint Views → Complaint Forms: validates input
complaint_system/complaints/views.py - Complaint Views → Complaint Records: reads and updates
complaint_system/complaints/views.py - Complaint Views → User Roles: checks user roles
complaint_system/complaints/views.py - Complaint Views → Complaint Pages: renders
complaint_system/complaints/views.py - Complaint Records → Complaint Records: stores comments and escalations
complaint_system/complaints/models.py - SLA and Assignment Tasks → Complaint Records: checks and updates
complaint_system/complaints/tasks.py - SLA and Assignment Tasks → User Roles: assigns staff
complaint_system/complaints/tasks.py - Workflow Signals → Complaint Records: handles model events
- Django Admin → Complaint Records: manages records
complaint_system/complaints/admin.py - Account Admin → User Roles: manages accounts
complaint_system/accounts/admin.py - Shared Pages → Browser Helpers: loads scripts
- Complaint Views → SQLite: persists records