From 688f7d6921eae6fa3b7d31dc60421ab63751b0cc Mon Sep 17 00:00:00 2001 From: Tomas Gavenciak Date: Tue, 2 Jun 2015 01:43:50 +0200 Subject: [PATCH] Odstranena nutna neprazdnost tagu v adminu --- seminar/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seminar/admin.py b/seminar/admin.py index 5c898106..e53cbeb0 100644 --- a/seminar/admin.py +++ b/seminar/admin.py @@ -249,7 +249,7 @@ class ProblemAdminForm(forms.ModelForm): text_zadani = forms.CharField(widget=CKEditorWidget(), required=False, **field_labels(Problem, 'text_zadani')) text_reseni = forms.CharField(widget=CKEditorWidget(), required=False, **field_labels(Problem, 'text_reseni')) text_org = forms.CharField(widget=CKEditorWidget(), required=False, **field_labels(Problem, 'text_org')) - zamereni = TaggitField(widget=TaggitWidget('TagAutocomplete')) + zamereni = TaggitField(widget=TaggitWidget('TagAutocomplete'), required=False) class Meta: model = Problem exclude = []