How rochakdh/getwheels works
This Django application supports vehicle rental: users browse available vehicles, submit rental requests, and renters review and approve or reject them. Renters can publish vehicles and manage listings; users also have profiles, authentication, and a contact/consultation form. A separate REST endpoint exposes filterable vehicle listings. The excerpts show URL dispatch, view-to-model/form references, API serialization, and SQLite configuration; unsampled view logic and template behavior are not expanded into unsupported flows.
Main entry points: home/views.py Page views · models.py Rental records · api/views.py Listing API · urls.py Page routes
Components 18
Web experience
- Page routes
rent/home/urls.py - Page views
rent/home/views.py - Page templates
rent/home/templates - User accounts
Rental domain
- Vehicle listings
rent/home/views.py - Vehicle publishing
rent/home/views.py - Rental requests
rent/home/views.py - Renter decisions
rent/home/views.py - User profiles
rent/home/views.py - Consultation form
rent/home/forms.py
Vehicle API
- API routes
rent/home/api/urls.py - Listing API
rent/home/api/views.py - Vehicle serializer
rent/home/api/serializers.py
Persistence and auth
- Rental records
rent/home/models.py - SQLite database
rent/db.sqlite3 - Django settings
rent/rent/settings.py
Other components
- Visitor
- API client
Connections 23
- Visitor → Page routes: requests pages
- Page routes → Page views: dispatches
rent/home/urls.py - Page views → Page templates: renders
rent/home/views.py - Page views → User accounts: authenticates users
rent/home/views.py - Page views → Vehicle listings: handles listing pages
rent/home/urls.py - Page views → Vehicle publishing: handles publishing
rent/home/urls.py - Page views → Rental requests: handles requests
rent/home/urls.py - Page views → Renter decisions: handles decisions
rent/home/urls.py - Page views → User profiles: handles profiles
rent/home/urls.py - Page views → Consultation form: uses form
rent/home/views.py - Vehicle listings → Rental records: queries listings
rent/home/views.py - Vehicle publishing → Rental records: creates listings
rent/home/views.py - Rental requests → Rental records: loads vehicle
rent/home/views.py - Renter decisions → Rental records: updates requests
rent/home/views.py - User profiles → Rental records: queries records
rent/home/views.py - Consultation form → Rental records: models consultation
rent/home/forms.py - API client → API routes: requests listings
- API routes → Listing API: dispatches
rent/home/api/urls.py - Listing API → Vehicle serializer: serializes listings
rent/home/api/views.py - Listing API → Rental records: queries listings
rent/home/api/views.py - Vehicle serializer → Rental records: serializes model
rent/home/api/serializers.py - Django settings → SQLite database: configures database
rent/rent/settings.py - Rental records → SQLite database: persists records