From e7f056d2a682813d720978f613acc6a33537ebf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20=20MENAGER?= <herve.menager@pasteur.fr> Date: Wed, 31 Jan 2018 14:33:00 +0100 Subject: [PATCH] remove annoying debug prints. Former-commit-id: 946287fc5195ccc83a1bc914d0446873891f748e --- ippisite/ippidb/forms.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ippisite/ippidb/forms.py b/ippisite/ippidb/forms.py index 0a313bde..bf909b23 100644 --- a/ippisite/ippidb/forms.py +++ b/ippisite/ippidb/forms.py @@ -141,10 +141,6 @@ class BaseCompoundFormSet(BaseFormSet): form.fields["molecule_comp"] = forms.CharField(widget=forms.TextInput(attrs={'placeholder':'Molecule commposition here', 'required':'required'})) CompoundFormSet = formset_factory(CompoundForm, formset=BaseCompoundFormSet, extra=2, max_num=500, can_delete=True) -formset = CompoundFormSet() -print(formset.is_valid()) -for form in formset: - print(form.as_table()) class TestsForm(ModelForm): -- GitLab