In forms,py, we can simple do this
e_mail = forms.EmailField(label='Your e-mail address')

this will work and be use if we use {{ form.as_table}} for example.

But if we instead use our own customization, because it's too
restricted to use the auto form render,  when it comes to labels, we
have to manually specify it
<label for="id_e_mail">Your e-mail address</label>

But this may looks ugly. Is there a way to load the label from
forms.py even if we are not using form.as_ ??

Thanks.

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

Reply via email to