I'm a big +1 on the rendering with templates, as well as multiple
template tags, I see something like:

{% form new_user_form as_p %}
 {% fieldset user_info %}
   {% field username %}
   {% field password %}
 {% endfieldset %}
{% endform %}

or something similar, you could possibly even specify attributes in
the field tag like:
{% field username class='required' %}

Which is something that I have a big problem with the way it is
curretly done ie:
username =
forms.TextField(widget=forms.TextInput(attrs={class:'required'})

It's too verbose, and it mixes presentation with code to an extent
that I'm uncomfortable with.

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
To unsubscribe from this group, send email to 
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en.

Reply via email to