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:
thomas girod 2024-12-26 17:02:02 +01:00 committed by GitHub
commit 10ed2f7404
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -293,6 +293,7 @@ class UserGroupsForm(forms.ModelForm):
queryset=RealGroup.objects.all(),
widget=CheckboxSelectMultiple,
label=_("Groups"),
required=False,
)
class Meta: