diff --git a/ippisite/ippidb/forms.py b/ippisite/ippidb/forms.py index 0a313bde9ed71c6d3be16bc9bbee5bc7ac8542f0..bf909b238381baacad53fa3d003d9f1a18787e30 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):