From b1aa19dc703fb658eb2df88d2206f5ca53758768 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 4 Feb 2016 09:43:05 +0100 Subject: [PATCH] fix required --- teleforma/admin.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teleforma/admin.py b/teleforma/admin.py index 71924848..6aa9d5d3 100644 --- a/teleforma/admin.py +++ b/teleforma/admin.py @@ -59,8 +59,7 @@ class StudentInline(admin.StackedInline): extra = 1 class StudentGroupForm(ActionForm): - group_name = forms.CharField(_('Group'), blank=True, null=True, max_length=255) - + group_name = forms.CharField(_('Group'), required=False) class StudentGroupAdmin(admin.ModelAdmin): model = StudentGroup -- 2.39.5