On Sun, Feb 24, 2013 at 1:51 AM, ANKIT BAGARIA <[email protected]>wrote:

> this is an example from formset documentation:
>
> the above command displays 3 forms in total 1 with initial data and 2 blanks. 
> AFTER GOING THROUGH formset.py file I AM NOT ABLE TO UNDERSTAND HOW IS 3 
> FORMS CREATED. How is "for form in formset:" run 3 times?? Please explain 
> this functionality in formset.py as to where in the code is it happening?? 
> Thankyou.
>
> Firstly - Django-developers is a mailing list for discussing the
development of Django itself. If you've got a general usage question,
please direct it to django-users.

Secondly, to point you in the right direction, look into the "extra"
attribute on Django's FormSet definition. It has a default value of 3. The
documentation for FormSet explains this in some detail.

https://docs.djangoproject.com/en/1.4/topics/forms/formsets/

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to