How gouthamvemulahub/hostelhub works
This is a Django hostel-management application for students, administrators, and wardens. Users register and verify by email OTP, sign in, then use routed views to manage accommodation or student services; administrators and wardens also review requests and maintain hostel operations. The main implementation is concentrated in hostelapp/views.py, with forms and domain models supporting it. The URL table documents broad capabilities, but the sampled view excerpts are partial, so only directly shown implementation relationships are asserted; database interactions are summarized at the view layer.
Main entry points: urls.py URL router · models.py Hostel domain models · views.py Accounts and profiles · db.sqlite3 Application database
Components 14
Web entry
- URL router
hostelapp/urls.py - Hostel domain models
hostelapp/models.py - Application database
db.sqlite3
Identity
- Accounts and profiles
hostelapp/views.py - Email delivery
- Input forms
hostelapp/forms.py
Hostel operations
- Rooms and allotments
hostelapp/views.py - Blocks and operations
hostelapp/views.py
Student services
- Attendance and requests
hostelapp/views.py - Student documents
hostelapp/views.py
Communication
- Notices and messaging
hostelapp/views.py
Other components
- Student
- Warden
- Administrator
Connections 18
- Student → URL router: requests pages
hostelapp/urls.py - Warden → URL router: requests pages
hostelapp/urls.py - Administrator → URL router: requests pages
hostelapp/urls.py - URL router → Accounts and profiles: routes account requests
hostelapp/urls.py - URL router → Rooms and allotments: routes housing requests
hostelapp/urls.py - URL router → Blocks and operations: routes operations requests
hostelapp/urls.py - URL router → Attendance and requests: routes service requests
hostelapp/urls.py - URL router → Student documents: routes document requests
hostelapp/urls.py - URL router → Notices and messaging: routes communication requests
hostelapp/urls.py - Accounts and profiles → Email delivery: sends OTP
hostelapp/views.py - Accounts and profiles → Input forms: uses forms
hostelapp/views.py - Accounts and profiles → Hostel domain models: queries and updates
hostelapp/views.py - Rooms and allotments → Hostel domain models: queries and updates
hostelapp/views.py - Blocks and operations → Hostel domain models: queries and updates
hostelapp/views.py - Attendance and requests → Hostel domain models: queries and updates
hostelapp/views.py - Student documents → Hostel domain models: queries and updates
hostelapp/views.py - Notices and messaging → Hostel domain models: queries and updates
hostelapp/views.py - Hostel domain models → Application database: persists domain data