Wednesday, September 1, 2010

Re: Discrepancy between model formset and the queryset it's based on

Perhaps see:


where it talks about the "extra" keyword that controls how many blank forms to add, the default is 1


On Wed, Sep 1, 2010 at 5:31 PM, ses1984 <ses1984@gmail.com> wrote:
Basically I have a queryset with N items in it, which I use to create
a model formset, which then has N+1 items in it. I'm not sure why this
is happening.

Here is a summary of the problem. Please forgive my crude methods for
gathering information (if anyone has feedback on that topic, I would
like to hear it)

http://dpaste.com/hold/237587/

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment