mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-08 16:11:17 +00:00
Fix error when submitting group form without any group checked
This commit is contained in:
parent
eaac0c728f
commit
a36946529b
@ -293,6 +293,7 @@ class UserGroupsForm(forms.ModelForm):
|
|||||||
queryset=RealGroup.objects.all(),
|
queryset=RealGroup.objects.all(),
|
||||||
widget=CheckboxSelectMultiple,
|
widget=CheckboxSelectMultiple,
|
||||||
label=_("Groups"),
|
label=_("Groups"),
|
||||||
|
required=False,
|
||||||
)
|
)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
|
Loading…
Reference in New Issue
Block a user