8
0
Fork 0
mirror of https://gitlab.federez.net/re2o/re2o synced 2024-06-02 07:52:23 +00:00

Don't display articles for clubs

This commit is contained in:
Yohann D'ANELLO 2021-02-01 20:51:06 +01:00
parent c35c0feccf
commit c9f22b43d3
No known key found for this signature in database
GPG key ID: 3A75C55819C8CF85

View file

@ -87,6 +87,7 @@ class MembershipForm(forms.Form):
Q(need_membership=False)
| Q(duration_membership__gt=0)
| Q(duration_days_membership__gt=0),
~Q(type_user="Club"),
available_for_everyone=True),
label=_("Article"),
empty_label=_("Select an article"),