How devraaz/domitary works
This is a Django hostel-discovery and booking application with customer accounts and hostel-owner management. Customers browse listings, submit a booking, and can view booking activity; owners register or sign in, maintain hostel details and availability, and inspect activity records. The sampled views and models support these workflows, while URL routing and the shared templates provide the web interface. The README is empty, so feature coverage is based on the supplied source excerpts; unsampled routes and template behavior are not inferred.
Main entry points: urls.py Web routes · models.py Hostel and booking records · templates Page templates · views.py Hostel discovery
Components 13
Web interface
- Web routes
hostel/urls.py - Page templates
templates
Customer workflow
- Hostel discovery
hostel/views.py - Customer accounts
hostel/views.py - Booking confirmation
hostel/views.py - Customer bookings
hostel/views.py
Owner workflow
- Owner accounts
hostel/views.py - Hostel management
hostel/views.py - Owner activity
hostel/views.py
Domain data
- Hostel and booking records
hostel/models.py - MySQL database
Other components
- Customer
- Hostel owner
Connections 20
- Customer → Web routes: requests pages
hostel/urls.py - Hostel owner → Web routes: requests pages
hostel/urls.py - Web routes → Hostel discovery: routes listing
hostel/urls.py - Web routes → Customer accounts: routes account
hostel/urls.py - Web routes → Booking confirmation: routes booking
hostel/urls.py - Web routes → Customer bookings: routes bookings
hostel/urls.py - Web routes → Owner accounts: routes account
hostel/urls.py - Web routes → Hostel management: routes management
hostel/urls.py - Web routes → Owner activity: routes activity
hostel/urls.py - Hostel discovery → Hostel and booking records: queries listings
hostel/views.py - Booking confirmation → Hostel and booking records: reads booking data
hostel/views.py - Customer bookings → Hostel and booking records: queries activity
hostel/views.py - Hostel management → Hostel and booking records: updates availability
hostel/views.py - Owner activity → Hostel and booking records: queries activity
hostel/views.py - Hostel discovery → Page templates: renders pages
hostel/views.py - Booking confirmation → Page templates: renders pages
hostel/views.py - Customer bookings → Page templates: renders pages
hostel/views.py - Hostel management → Page templates: renders pages
hostel/views.py - Owner activity → Page templates: renders pages
hostel/views.py - Hostel and booking records → MySQL database: ORM persistence