mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-06 15:11:21 +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(),
|
||||
widget=CheckboxSelectMultiple,
|
||||
label=_("Groups"),
|
||||
required=False,
|
||||
)
|
||||
|
||||
class Meta:
|
||||
|
Loading…
Reference in New Issue
Block a user