How pcumamahesh/mess-website works
Mess Website is a Django dining-management application for IIT Indore. Students use it to submit short and long rebates and caterer preferences, and to access student and billing information; administrators manage dining operations. The code tree supports distinct rebate validation, allocation, billing, and notification subsystems, with semester-specific records. The README establishes the product workflows and capabilities; source-index references and excerpts support several internal links. Views and URL routing were not sampled, so detailed request-level flow is not asserted.
Main entry points: students.py Student records · views.py Web workflows · admin.py Admin console · allocation.py Caterer allocation
Components 17
Web and administration
- Web workflows
home/views.py - Admin console
home/admin.py - Data import/export
home/resources.py
Dining domain
- Student records
home/models/students.py - Caterer allocation
home/models/allocation.py - Caterer records
home/models/caterer.py - Autumn 2022 records
home/models/Semesters/autumn22.py - Spring 2023 records
home/models/Semesters/spring23.py - Autumn 2023 records
home/models/Semesters/autumn23.py
Rebate processing
- Rebate validation
home/utils/rebate_checker.py - Rebate bill updates
home/utils/rebate_bills_saver.py
Billing and notifications
- Bill records
home/models/bills.py - Rebate notifications
home/signals.py - Email service
home/utils/django_email_server.py - Scheduled tasks
home/schedulers.py
Other components
- Students
- Administrators
Connections 26
- Students → Web workflows: use dining services
- Administrators → Web workflows: manage dining
- Web workflows → Student records: access student information
- Web workflows → Rebate validation: submit rebates
- Web workflows → Caterer allocation: submit preferences
- Web workflows → Bill records: access bills
- Admin console → Student records: administers records
home/admin.py - Admin console → Data import/export: uses data resources
home/admin.py - Admin console → Email service: sends notifications
home/admin.py - Admin console → Rebate bill updates: updates rebate bills
home/admin.py - Rebate validation → Student records: checks rebate records
home/utils/rebate_checker.py - Rebate validation → Bill records: checks bill limits
home/utils/rebate_checker.py - Rebate bill updates → Bill records: updates bills
home/utils/rebate_bills_saver.py - Rebate bill updates → Caterer allocation: reads allocations
home/utils/rebate_bills_saver.py - Caterer allocation → Student records: references students
home/models/allocation.py - Caterer allocation → Caterer records: references caterers
home/models/allocation.py - Autumn 2022 records → Student records: references students
home/models/Semesters/autumn22.py - Autumn 2022 records → Caterer records: references caterers
home/models/Semesters/autumn22.py - Spring 2023 records → Student records: references students
home/models/Semesters/spring23.py - Spring 2023 records → Caterer records: references caterers
home/models/Semesters/spring23.py - Autumn 2023 records → Student records: references students
home/models/Semesters/autumn23.py - Autumn 2023 records → Caterer records: references caterers
home/models/Semesters/autumn23.py - Rebate notifications → Rebate validation: validates rebates
home/signals.py - Rebate notifications → Rebate bill updates: updates rebate bills
home/signals.py - Rebate notifications → Email service: sends notifications
home/signals.py - Scheduled tasks → Email service: runs scheduled mail
home/schedulers.py