How cuervo-ciclon/gimnasionatatorio works
Corpo Natatorio y Gimnasio is a Django site combining a public landing page with member accounts, gym administration, attendance, monthly fees and medical reviews, plus activity enrollment and reservations. The principal staff workflow searches for a member or checks them in, then records attendance and reports fee, medical-clearance, or plan-limit warnings without blocking entry. Staff also manage member status and monthly records; activity enrollment validates capacity and creates reservations. Edges are limited to README statements and relationships visible in the supplied source index or excerpts; unsampled wiring is not assumed.
Main entry points: services.py Attendance and monthly rules · models.py Member records · actividades/views.py Activity administration · socios/views.py Member and staff views
Components 13
Web and accounts
- Public landing
pagina/views.py - Account flows
accounts/views.py - Login and registration
accounts/forms.py - User-to-member signal
accounts/signals.py
Member operations
- Member and staff views
socios/views.py - Attendance and monthly rules
socios/services.py - Monthly record command
socios/management/commands/crear_cuotas_y_revisiones.py - Member lifecycle signal
socios/signals.py
Activities
- Activity administration
actividades/views.py - Enrollment and reservations
actividades/services.py
Domain records
- Member records
socios/models.py - Activity records
actividades/models.py
Other components
- Visitor or staff
Connections 15
- Visitor or staff → Public landing: visits
README.md - Visitor or staff → Account flows: signs in
README.md - Account flows → Login and registration: uses forms
accounts/views.py - User-to-member signal → Member records: creates profile
accounts/signals.py - Member and staff views → Attendance and monthly rules: calls check-in
socios/views.py - Member and staff views → Member records: reads and updates
socios/views.py - Monthly record command → Attendance and monthly rules: generates records
socios/management/commands/crear_cuotas_y_revisiones.py - Attendance and monthly rules → Member records: reads and writes
socios/services.py - Member lifecycle signal → Member records: creates profile
socios/signals.py - Member lifecycle signal → Attendance and monthly rules: ensures monthly records
socios/signals.py - Activity administration → Enrollment and reservations: calls enrollment
actividades/views.py - Activity administration → Activity records: reads records
actividades/views.py - Activity administration → Member records: looks up members
actividades/views.py - Activity administration → Attendance and monthly rules: uses month labels
actividades/views.py - Enrollment and reservations → Activity records: creates reservations
actividades/services.py