There is documentation on the various options. It is possible to specify no
extras.

On Tue, Apr 24, 2012 at 15:09, David
<davidwi...@adviserbreakthrough.co.uk>wrote:

> 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.
>



-- 
Marcin Tustin
Tel: 07773 787 105

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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.

Reply via email to