Skip to content

Commit

Permalink
Merge pull request #963 from ae-utbm/fix-group-edit
Browse files Browse the repository at this point in the history
Fix error when submitting group form without any group checked
  • Loading branch information
imperosol authored Dec 26, 2024
2 parents 81773dc + a369465 commit 10ed2f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/views/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ class UserGroupsForm(forms.ModelForm):
queryset=RealGroup.objects.all(),
widget=CheckboxSelectMultiple,
label=_("Groups"),
required=False,
)

class Meta:
Expand Down

0 comments on commit 10ed2f7

Please sign in to comment.