gestioCOF/bda
Aurélien Delobelle 3e0bd2e758 Fewer db requests on bda views.
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.
2017-04-07 13:25:50 +02:00
..
management Fixes and cleanup 2017-02-03 17:07:50 +01:00
migrations A migration for the new field appear_catalogue 2017-03-31 17:53:35 +01:00
static Mise à jour des dépendances jquery-ui et jquery 2017-02-10 23:47:49 +01:00
templates fix pep8 + move template 2017-02-21 19:49:29 -03:00
__init__.py Major update 2012-07-11 17:39:20 +02:00
admin.py Migration et chargement des emails 2016-12-23 15:48:57 +01:00
algorithm.py Update Py3 compat 2016-07-15 00:20:08 +02:00
autocomplete_light_registry.py Update Py3 compat 2016-07-15 00:20:08 +02:00
forms.py Fewer db requests on bda views. 2017-04-07 13:25:50 +02:00
models.py line too long in bda.models 2017-04-05 20:42:50 +01:00
tests.py Adds tests covering the bda-catalogue JSON API 2017-04-05 21:02:00 +01:00
urls.py Correction du format de l'URL 2017-04-01 16:48:18 +02:00
views.py Fewer db requests on bda views. 2017-04-07 13:25:50 +02:00