1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-07-18 07:10:18 +02:00

Minor fixes

This commit is contained in:
Ehouarn
2025-07-13 18:29:43 +02:00
parent b2c6b0e85d
commit 4380414c6b
3 changed files with 7 additions and 19 deletions

View File

@ -99,7 +99,7 @@ class WEIChooseBusForm(forms.Form):
queryset=WEIRole.objects.filter(~Q(name="1A") & ~Q(name="GC WEI")),
label=_("WEI Roles"),
help_text=_("Select the roles that you are interested in."),
initial=WEIRole.objects.filter(name="Adhérent⋅e WEI").all(),
initial=WEIRole.objects.filter(Q(name="Adhérent⋅e WEI") | Q(name="\u00c9lectron libre")).all(),
widget=CheckboxSelectMultiple(),
)