Paginate Django formset
I have a model formset that I want to display 10 forms at a time using Django's Paginator, but it can't be done like paginator = Paginator(formset, 10) . What's the correct way to do this, if there is a way? Filly This is a generic example of the solution I found to my problem: In the forms.py file: class MyForm(ModelForm): class Meta: model = MyModel fields = ('description',) In the views.py file: from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger FormSet = modelformset_factory(MyModel, form=MyForm, extra=0) if request.method == 'POST': formset = FormSet(request.POST,