How huy2451220013/cnpm_24ct2 works
PicklePro is a Django system for managing pickleball courts and online bookings. Customers can register or sign in, find and inspect courts, check schedules, submit bookings, view booking details and VietQR payment instructions, and look up or cancel bookings. Staff manage bookings and court status. The graph includes account, court, booking, and operations stages; templates are shown as the presentation layer. Relationships are limited to the excerpts and README; unsampled routing and runtime database configuration are not inferred.
Main entry points: bookings/models.py Booking Records · courts/views.py Court Discovery · bookings/views.py Booking Actions · courts/models.py Court Catalog
Components 18
Accounts
- Account Access
PicklePro/accounts/views.py - Member Profile
PicklePro/accounts/models.py
Court Discovery
- Court Discovery
PicklePro/courts/views.py - Court Catalog
PicklePro/courts/models.py - Court Schedules
PicklePro/courts/views.py
Booking Lifecycle
- Booking Actions
PicklePro/bookings/views.py - Booking Records
PicklePro/bookings/models.py - Booking Ticket
PicklePro/bookings/views.py - Booking Lookup
PicklePro/bookings/views.py - VietQR Image Service
Venue Operations
- Booking Operations
PicklePro/bookings/views.py - Sample Data Seeder
PicklePro/courts/management/commands/seed_data.py
Presentation
- Account Pages
PicklePro/templates/accounts - Court Pages
PicklePro/templates/courts - Booking Pages
PicklePro/templates/bookings - Dashboard Page
PicklePro/templates/dashboard.html
Other components
- Customer
- Staff
Connections 29
- Customer → Account Access: uses accounts
- Account Access → Member Profile: reads and updates
PicklePro/accounts/views.py - Account Access → Booking Records: reads bookings
PicklePro/accounts/views.py - Account Access → Account Pages: renders pages
PicklePro/accounts/views.py - Customer → Court Discovery: browses courts
- Court Discovery → Court Catalog: queries courts
PicklePro/courts/views.py - Court Discovery → Booking Records: queries bookings
PicklePro/courts/views.py - Court Discovery → Court Pages: renders court pages
PicklePro/courts/views.py - Court Discovery → Dashboard Page: renders dashboard
PicklePro/courts/views.py - Customer → Court Schedules: checks availability
- Court Schedules → Court Catalog: queries courts
PicklePro/courts/views.py - Court Schedules → Booking Records: queries bookings
PicklePro/courts/views.py - Court Schedules → Court Pages: renders schedule
PicklePro/courts/views.py - Customer → Booking Actions: submits booking
- Booking Actions → Court Catalog: loads court
PicklePro/bookings/views.py - Booking Actions → Booking Records: checks and saves
PicklePro/bookings/views.py - Booking Actions → Booking Pages: renders booking pages
PicklePro/bookings/views.py - Booking Actions → Booking Ticket: redirects to ticket
PicklePro/bookings/views.py - Booking Ticket → Booking Records: loads booking
PicklePro/bookings/views.py - Booking Ticket → VietQR Image Service: builds QR image URL
PicklePro/bookings/views.py - Booking Lookup → Booking Records: queries bookings
PicklePro/bookings/views.py - Booking Lookup → Booking Pages: renders booking list
PicklePro/bookings/views.py - Staff → Booking Operations: manages bookings
- Booking Operations → Booking Records: updates bookings
PicklePro/bookings/views.py - Booking Operations → Court Catalog: queries courts
PicklePro/bookings/views.py - Booking Operations → Booking Pages: renders operations page
PicklePro/bookings/views.py - Sample Data Seeder → Court Catalog: creates sample courts
PicklePro/courts/management/commands/seed_data.py - Sample Data Seeder → Booking Records: creates sample bookings
PicklePro/courts/management/commands/seed_data.py - Sample Data Seeder → Member Profile: creates sample profiles
PicklePro/courts/management/commands/seed_data.py