On Jan 21, 11:45 pm, pinco <p.tessar...@gmail.com> wrote:
> The code
>
> {% for choice_value, choice_text in
> myform.fields.choicefieldname.choices %}
>                 choice_value: {{ choice_value }}<br/>
>                 choice_text: {{ choice_text }}<br/>
>                 {% endfor %}
>
> gives the choices text and values associated to each choice, but
> actually do not render the html form, which is what I'm looking for.

Right, now I'm completely confused. You do have a form, and you want
to output the form field, so why don't you just do that?

    {{ myform.choicefieldname }}

--
DR.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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