Fix error when submitting group form without any group checked

This commit is contained in:
Antoine Bartuccio 2024-12-22 12:04:51 +01:00
parent eaac0c728f
commit a36946529b

View File

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