{{ form.pics.0.field }} gives nothing.
.. Horacio.
On Mon, May 21, 2012 at 3:27 PM, Juan Pablo Martínez <jpma55@gmail.com> wrote:
try
{{ form.pics.0.label }}
{{ form.pics.0.field }}
On Mon, May 21, 2012 at 4:56 PM, Horacio Martínez Alfaro <horacio.mx@gmail.com> wrote:
Here is my template:Thanks,
.. Horacio.
On Mon, May 21, 2012 at 2:10 PM, Juan Pablo Martínez <jpma55@gmail.com> wrote:your tamplate?On Mon, May 21, 2012 at 2:45 PM, Horacio Martínez Alfaro <horacio.mx@gmail.com> wrote:
Hi,
I'm working with forms and I need to have several fields of the same type (CharField, BooleanField, ChoiceField, FileField) grouped and I tried a list (I also tried a dictionary). Here is my code:However, when I "render_to_response" in my view, I got the labels right but not the fields:Am I missing something? Any pointers would be appreciated.--.. Horacio.
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.
--
juanpex
--
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.
--
juanpex
--
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