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