Friday, March 1, 2013

Re: how to create formset field but not used loop in template



On Friday, 1 March 2013 11:43:22 UTC, Witold Greń wrote:
When i create formset in template i must used loop "for":

<snip>

How to create field but not used loop "for"? eg. {{ formset_create_company.form.no_house }}??


Can you explain why you don't want to use for? Seems perfectly sensible to me, a formset contains multiple forms so you need to use a loop.
--
DR. 

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

No comments:

Post a Comment