forked from DGNum/gestioCOF
bda.views.etat_places - Use select_related on spectacles_set, avoid query issue for each spectacle. - `slots__sum` is computed in view, instead of a query. - Cleaner code (and avoid useless computations). bda.views.places - Add select_related on places, avoid query issue for each spectacle. bda.views.inscription - 1 query for spectacle field choices, instead of (#forms in formset * #spectacles) - Delete BaseBdaFormSet. The validation was redundant with `unique_together` of ChoixSpectacle model. |
||
---|---|---|
.. | ||
management | ||
migrations | ||
static | ||
templates | ||
__init__.py | ||
admin.py | ||
algorithm.py | ||
autocomplete_light_registry.py | ||
forms.py | ||
models.py | ||
tests.py | ||
urls.py | ||
views.py |