mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-08 16:11:17 +00:00
Merge pull request #963 from ae-utbm/fix-group-edit
Fix error when submitting group form without any group checked
This commit is contained in:
commit
10ed2f7404
@ -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