From 8d8f769de1241a8b2a31702f65339abb82b95153 Mon Sep 17 00:00:00 2001 From: fbormann Date: Thu, 16 Mar 2017 03:26:49 -0300 Subject: [PATCH] update --- reports/forms.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/reports/forms.py b/reports/forms.py index 758bfc8..52ac19e 100644 --- a/reports/forms.py +++ b/reports/forms.py @@ -11,18 +11,16 @@ class BaseResourceAndTagFormset(BaseFormSet): Adds validation to check that no two links have the same anchor or URL and that all links have both an anchor and URL. """ - print("here 2") - print(self.errors) if any(self.errors): return for form in self.forms: - print(form) + pass class ResourceAndTagForm(forms.Form): resource = forms.ChoiceField(label=_("Kind Of Resource"), required=True) - tag = forms.ChoiceField(label=_('Tag'), required=True) + tag = forms.ChoiceField(label=_('Tag')) def __init__(self, *args, **kwargs): super(ResourceAndTagForm, self).__init__(*args, **kwargs) -- libgit2 0.21.2