mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-23 20:03:11 +00:00
Merge branch '92_Stats_models_broken' into 'master'
Fix 92: broken stats on models See merge request federez/re2o!118
This commit is contained in:
commit
e80c50ffe3
1 changed files with 5 additions and 5 deletions
|
@ -313,11 +313,11 @@ def stats_models(request):
|
||||||
'whitelist': [Whitelist.PRETTY_NAME, Whitelist.objects.count()]
|
'whitelist': [Whitelist.PRETTY_NAME, Whitelist.objects.count()]
|
||||||
},
|
},
|
||||||
'Cotisations': {
|
'Cotisations': {
|
||||||
'factures': [Facture.PRETTY_NAME, Facture.objects.count()],
|
'factures': [Facture._meta.verbose_name.title(), Facture.objects.count()],
|
||||||
'vente': [Vente.PRETTY_NAME, Vente.objects.count()],
|
'vente': [Vente._meta.verbose_name.title(), Vente.objects.count()],
|
||||||
'cotisation': [Cotisation.PRETTY_NAME, Cotisation.objects.count()],
|
'cotisation': [Cotisation._meta.verbose_name.title(), Cotisation.objects.count()],
|
||||||
'article': [Article.PRETTY_NAME, Article.objects.count()],
|
'article': [Article._meta.verbose_name.title(), Article.objects.count()],
|
||||||
'banque': [Banque.PRETTY_NAME, Banque.objects.count()],
|
'banque': [Banque._meta.verbose_name.title(), Banque.objects.count()],
|
||||||
},
|
},
|
||||||
'Machines': {
|
'Machines': {
|
||||||
'machine': [Machine.PRETTY_NAME, Machine.objects.count()],
|
'machine': [Machine.PRETTY_NAME, Machine.objects.count()],
|
||||||
|
|
Loading…
Reference in a new issue