How ayhamksouri/hotel_2026_tekup works
Grand Hôtel is a Django hotel-management application for administrators, clients, receptionists, cleaners, and chefs. A client browses a published hotel and submits a booking; reception confirms or refuses it, manages the stay and invoices, and coordinates room cleaning. The graph also preserves hotel setup, account/role support, kitchen menus and stock, and hotel events. Edges reflect README statements or source-index references and shown calls; unsampled implementations are represented only at supported directory paths.
Main entry points: views.py Accounts and dashboards · services.py Stay and cleaning services · models.py Rooms, bookings, invoices · hotel_views.py Hotel administration
Components 26
Accounts and roles
- Accounts and dashboards
account/views.py - Users and notifications
account/models.py - Role access control
account/decorators.py - Account forms
account/forms.py - Shared CRUD pages
account/crud.py
Hotel setup and booking
- Hotel administration
gestion_hotel/hotel_views.py - Hotel setup forms
gestion_hotel/hotel_forms.py - Hotels and events
gestion_hotel/models.py - Client hotel browsing
gestion_hotel/client_views.py - Booking and pricing
gestion_hotel/booking.py
Reception and housekeeping
- Room and stay management
gestion_rooms/views.py - Reception workflows
gestion_rooms/reception_views.py - Room and invoice forms
gestion_rooms/forms.py - Reception forms
gestion_rooms/reception_forms.py - Rooms, bookings, invoices
gestion_rooms/models.py - Stay and cleaning services
gestion_rooms/services.py - Cleaning reminders
gestion_rooms/management/commands/send_cleaning_reminders.py
Guest and kitchen services
- Menu and stock
gestion_repas/views.py - Menu and stock records
gestion_repas/models.py - Equipment stock (planned)
gestion_equipments/models.py
Other components
- Client
- Administrator
- Receptionist
- Cleaner
- Chef
- PostgreSQL database
Connections 32
- Client → Client hotel browsing: browses and books
- Client hotel browsing → Booking and pricing: creates booking
gestion_hotel/client_views.py - Booking and pricing → Rooms, bookings, invoices: creates reservations
gestion_hotel/booking.py - Booking and pricing → Stay and cleaning services: uses stay logic
gestion_hotel/booking.py - Administrator → Hotel administration: sets up hotels
- Hotel administration → Hotel setup forms: uses setup forms
gestion_hotel/hotel_views.py - Hotel administration → Hotels and events: manages hotels
gestion_hotel/hotel_views.py - Receptionist → Reception workflows: handles stay
- Reception workflows → Rooms, bookings, invoices: reads and updates
gestion_rooms/reception_views.py - Reception workflows → Reception forms: uses forms
gestion_rooms/reception_views.py - Reception workflows → Stay and cleaning services: invokes stay actions
gestion_rooms/reception_views.py - Receptionist → Room and stay management: manages rooms
- Room and stay management → Rooms, bookings, invoices: reads and updates
gestion_rooms/views.py - Room and stay management → Room and invoice forms: uses forms
gestion_rooms/views.py - Stay and cleaning services → Rooms, bookings, invoices: updates stay records
gestion_rooms/services.py - Stay and cleaning services → Users and notifications: notifies users
gestion_rooms/services.py - Cleaner → Accounts and dashboards: visits dashboard
- Accounts and dashboards → Stay and cleaning services: checks due cleaning
account/views.py - Cleaning reminders → Stay and cleaning services: sends reminders
gestion_rooms/management/commands/send_cleaning_reminders.py - Chef → Menu and stock: manages menu and stock
- Menu and stock → Menu and stock records: reads and changes
gestion_repas/views.py - Accounts and dashboards → Hotels and events: reads events
account/views.py - Accounts and dashboards → Menu and stock records: reads daily menu
account/views.py - Accounts and dashboards → Rooms, bookings, invoices: reads room status
account/views.py - Accounts and dashboards → Users and notifications: reads notifications
account/views.py - Accounts and dashboards → Role access control: role-gates views
account/views.py - Accounts and dashboards → Account forms: uses forms
account/views.py - Menu and stock → Shared CRUD pages: uses page helpers
gestion_repas/views.py - Accounts and dashboards → Shared CRUD pages: uses page helpers
account/views.py - Hotel administration → Shared CRUD pages: uses page helpers
gestion_hotel/hotel_views.py - Accounts and dashboards → PostgreSQL database: persists application data
- Equipment stock (planned) → PostgreSQL database: persistence unspecified