I was on this page, but I went directly to the "1.1" link in that first sentence because I am using 1.1 actually
This page is for the development version. Thanks though. On May 19, 9:29 am, Nuno Maltez <nuno.li...@gmail.com> wrote: > I think you need the google search help list :-) > > Just type "django forms" in the search box at docs.djangoproject.com > > And in the first result you have a lot of examples on how to print > everything from a form in your > template:http://docs.djangoproject.com/en/dev/topics/forms/ > > > > > > On Wed, May 19, 2010 at 5:23 PM, pyfreak <sitecontac...@gmail.com> wrote: > > Frustratingly enough, docs.djangoproject.com tells you how to print > > out the HMTL for a single field in your form, but it uses a shell to > > demonstrate it: > > > f = ContactForm() > >>>> print f['subject'] > > <input id="id_subject" type="text" name="subject" maxlength="100" / > > >>>> print f['message'] > > > However, I need to know how to do this in a template > > > I tried placing my form in the template like {{ f['subject'] }} and I > > get TemplateSyntaxError. Of course using my own form and existing > > fields > > > What is the syntax for this. > > > I tried all types of search terms to hopefully catch a thread with > > someone doing this, but ended up at zero. > > > Thanks > > > -- > > 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 > > athttp://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-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group > athttp://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-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.