How fpb105/wayfare works
Wayfare is a Django flight-search and travel-profile web application. Signed-in users can manage a profile and search one-way, round-trip, or multi-city itineraries: the search view validates trip details, the results view queries SerpAPI, and rendered pages present the returned flights. Airport autocomplete searches the local airport catalog. Profile records and interests are stored in the application database, with a signal creating a profile when a user account is created. Source excerpts show these core paths; project-level URL wiring and unsampled template behavior are not shown.
Main entry points: views.py Profile controller · wayfare Flight pages · signals.py Profile creation signal · forms.py Trip validation
Components 14
Flight search
- Search controller
wayfare/views.py - Trip validation
wayfare/forms.py - Results controller
wayfare/views.py - SerpAPI flights
Traveler profiles
- Profile controller
wayfare/views.py - Profile validation
wayfare/forms.py - Profile creation signal
wayfare/signals.py - Profiles and interests
wayfare/models.py
Airport catalog
- Airport search
wayfare/views.py - Airport records
wayfare/models.py
Web presentation
- Flight pages
wayfare/templates/wayfare - Profile pages
wayfare/templates/wayfare
Other components
- Traveler
- Django accounts
Connections 18
- Traveler → Search controller: submits search
wayfare/views.py - Search controller → Trip validation: validates trip
wayfare/views.py - Search controller → Flight pages: renders search
wayfare/views.py - Traveler → Results controller: requests results
- Results controller → Trip validation: validates parameters
wayfare/views.py - Results controller → SerpAPI flights: requests flights
wayfare/views.py - Results controller → Flight pages: renders flights
wayfare/views.py - Traveler → Airport search: searches airports
- Airport search → Airport records: queries airports
wayfare/views.py - Airport search → Flight pages: renders suggestions
wayfare/views.py - Traveler → Profile controller: manages profile
- Profile controller → Profile validation: validates updates
wayfare/views.py - Profile controller → Profiles and interests: reads and saves
wayfare/views.py - Profile controller → Profile pages: renders profile
wayfare/views.py - Django accounts → Profile creation signal: creates profile
wayfare/signals.py - Profile creation signal → Profiles and interests: creates record
wayfare/signals.py - Django accounts → Search controller: requires login
wayfare/views.py - Django accounts → Profile controller: requires login
wayfare/views.py