mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-15 23:19:20 +00:00
Fix error when submitting group form without any group checked
This commit is contained in:
1 parent
eaac0c728f
commit
a36946529b
1 file changed
+1
@@ -293,6 +293,7 @@ class UserGroupsForm(forms.ModelForm):
|
||||
queryset=RealGroup.objects.all(),
|
||||
widget=CheckboxSelectMultiple,
|
||||
label=_("Groups"),
|
||||
required=False,
|
||||
)
|
||||
|
||||
class Meta:
|
||||
|
||||
Reference in new issue
Block a user