Model Formset - By Default model formset is rendering one extra field (2 fields in total)
My model formset without even defining "extra" parameters in modelformset_factory is rendering one extra field in the template. I have tried many variations but it didn't work. If I print the form (the model form) on the command line it just prints a single form field as required but on model formset it prints 2 by default. Here is my code. models.py class Direction(models.Model): text = models.TextField(blank=True, verbose_name='Direction|text') forms.py class DirectionForm(forms.ModelForm): class Meta: model = Direction fields = ['text',] views.py def myview(request): Dirset = modelformset