How nithish-k06/tnsports works
This is a Django sports administration portal for Tamil Nadu. Visitors browse sports, districts, clubs, coaches, tournaments, and news; athletes and coaches can register and use role dashboards; officials administer district operations and statewide policy. The graph distinguishes routing, request handling, validation, domain data, and the database. Some subsystem boundaries are inferred from the URL names and repository tree; sampled excerpts do not show every handler or template interaction.
Main entry points: views.py Request handlers · models.py Sports domain records · urls.py URL routes · forms.py Registration and action forms
Components 19
Web entry
- URL routes
sports/urls.py - Request handlers
sports/views.py - Registration and action forms
sports/forms.py - Django settings
soprts/settings.py
Public sports portal
- Portal pages
sports/templates - Sports and districts
sports/views.py - News and articles
sports/views.py - Club directory
sports/views.py - Tournament requests
sports/views.py
Athlete and coach services
- Athlete registration and dashboard
sports/views.py - Coach registration and directory
sports/views.py
Sports administration
- Role dashboards
sports/views.py - Django admin
sports/admin.py - Zone and subzone setup
sports/management/commands/seed_zones_and_subzones.py - Sports domain records
sports/models.py - Configured database
soprts/settings.py
Other components
- Portal visitor
- Athlete or coach
- Sports official
Connections 19
- Portal visitor → URL routes: browses
- Athlete or coach → URL routes: registers or signs in
- Sports official → URL routes: manages portal
- URL routes → Request handlers: dispatches
sports/urls.py - Request handlers → Registration and action forms: uses validation
sports/views.py - Registration and action forms → Sports domain records: validates against
sports/forms.py - Request handlers → Sports domain records: queries and updates
sports/views.py - Request handlers → Sports and districts: serves
sports/views.py - Request handlers → News and articles: serves
sports/views.py - Request handlers → Club directory: serves
sports/views.py - Request handlers → Tournament requests: serves
sports/views.py - Request handlers → Athlete registration and dashboard: serves
sports/views.py - Request handlers → Coach registration and directory: serves
sports/views.py - Request handlers → Role dashboards: serves
sports/views.py - Request handlers → Portal pages: renders news page
sports/views.py - Django admin → Sports domain records: administers
sports/admin.py - Zone and subzone setup → Sports domain records: creates geography records
sports/management/commands/seed_zones_and_subzones.py - Sports domain records → Configured database: persists through ORM
- Django settings → Configured database: configures
soprts/settings.py