> for instance, i need to nest certain form-fields inside divs... The
> automatic form {{form as p}}, seems to be a little too constraining.
> How can I create a form and customize the template. I just need to see
> a simple example of how to use a customized form template with fields
> and labels already there.
>
This is explained in the docs
http://docs.djangoproject.com/en/dev/topics/forms/, see Customizing
the form template
Hope it helps!
--
Antoni Aloy López
Blog: http://trespams.com
Site: http://apsl.net
--
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