How namatigi/django101 works
This Django club site presents a monthly event calendar, accepts venue submissions, exposes event and venue records through Django admin, and provides a contact form that sends email. The sampled calendar view builds a calendar and static announcements; no event-query pipeline is visible, so none is implied. The README documents PostgreSQL, while the tree also contains a SQLite database; settings explicitly configure PostgreSQL. The events app's templates and admin behavior are summarized from the tree and sampled registration/view code.
Main entry points: urls.py Project routes · views.py Calendar and venue views · contact.py Contact handler · models.py Club records
Components 16
Request routing
- Project routes
myclub_root/myclub_site/urls.py - Event routes
myclub_root/events/urls.py
Club events
- Calendar and venue views
myclub_root/events/views.py - Calendar renderer
myclub_root/events/views.py - Calendar page
myclub_root/events/templates/events/calendar_base.html - Venue form
myclub_root/events/forms.py - Venue page
myclub_root/events/templates/events/add_venue.html - Club records
myclub_root/events/models.py - Django admin
myclub_root/events/admin.py
Site services
- Contact handler
myclub_root/myclub_site/contact.py - Contact page
myclub_root/myclub_site/templates/contact/contact.html - Email backend
- Password reset
myclub_root/myclub_site/urls.py
Persistence
- Django settings
myclub_root/myclub_site/settings.py - PostgreSQL database
Other components
- Site visitor
Connections 16
- Site visitor → Project routes: requests pages
- Project routes → Event routes: includes routes
- Event routes → Calendar and venue views: dispatches requests
- Calendar and venue views → Calendar renderer: builds calendar
- Calendar and venue views → Calendar page: renders page
- Calendar and venue views → Venue form: validates submissions
- Calendar and venue views → Venue page: renders form
- Venue form → Club records: saves venue
- Django admin → Club records: registers records
- Project routes → Django admin: routes admin
- Project routes → Password reset: routes reset
- Project routes → Contact handler: routes contact
- Contact handler → Contact page: renders page
- Contact handler → Email backend: sends message
- Django settings → PostgreSQL database: configures connection
- Club records → PostgreSQL database: persists records