mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-27 07:02:26 +00:00
Not yet member, possibilité de trouver les users pas encore adhérents
This commit is contained in:
parent
d3271c5cbf
commit
52f3d4d550
2 changed files with 9 additions and 0 deletions
|
@ -254,6 +254,14 @@ def stats_general(request):
|
||||||
.count()),
|
.count()),
|
||||||
Club.objects.filter(state=Club.STATE_ARCHIVE).count()
|
Club.objects.filter(state=Club.STATE_ARCHIVE).count()
|
||||||
],
|
],
|
||||||
|
'not_active_users': [
|
||||||
|
_("Not yet active users"),
|
||||||
|
User.objects.filter(state=User.STATE_NOT_YET_ACTIVE).count(),
|
||||||
|
(Adherent.objects
|
||||||
|
.filter(state=Adherent.STATE_NOT_YET_ACTIVE)
|
||||||
|
.count()),
|
||||||
|
Club.objects.filter(state=Club.STATE_NOT_YET_ACTIVE).count()
|
||||||
|
],
|
||||||
'adherent_users': [
|
'adherent_users': [
|
||||||
_("Contributing members"),
|
_("Contributing members"),
|
||||||
_all_adherent.count(),
|
_all_adherent.count(),
|
||||||
|
|
|
@ -33,6 +33,7 @@ CHOICES_USER = (
|
||||||
('0', _("Active")),
|
('0', _("Active")),
|
||||||
('1', _("Disabled")),
|
('1', _("Disabled")),
|
||||||
('2', _("Archived")),
|
('2', _("Archived")),
|
||||||
|
('3', _("Not Yet Active")),
|
||||||
)
|
)
|
||||||
|
|
||||||
CHOICES_AFF = (
|
CHOICES_AFF = (
|
||||||
|
|
Loading…
Reference in a new issue