Hi That is brilliant thank you! I've been struggling with this for too long :(
MyModel Set = modelformset_factory(MyModel) formset = MyModelFormSet(queryset= MyModel.objects.select_related().filter(left_team__isnull=True).filter(team=pk)) variables = RequestContext(request, { 'form': formset, }) Seems to do the job, except it adds an extra form at the bottom which I guess is for additions. Is there a way to remove that? so it is restricted solely to the results from my queryset? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/-zXhy_qXJcgJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.