Fewer database requests are issued.
Misc
- Use django-debug-panel to get debug panel even with Ajax calls (it requires Chrome and this extension)
K-Fêt
- Access to properties of
Account
andAccountNegative
models doesn't issue more requests toCofProfile
andUser
instead theyselect_related
these models the first time only. - Fewer requests in
kfet.views
and kfet templates. - Fix bug on
real_balance
property ofAccount
objects (happened if negative entry exists, but balance_offset isn't set).
BdA
- Fewer requests in
bda.views
. - If a tirage is launched more than once, relatives instances of reventes system are deleted.