newforms: accessing help_text in a template

37 views
Skip to first unread message

Vadim Macagon

unread,
Jan 30, 2007, 9:37:49 PM1/30/07
to django-d...@googlegroups.com
Hi,

Currently to access help_text for a field in a template I have to do this:

{{ form.<field_name>.field.help_text }}

would be nicer if I could just do this:

{{ form.<field_name>.help_text }}

A two line change to BoundField will do the trick, I can submit a patch
if desired.


-+ enlight +-

Gary Wilson

unread,
Feb 3, 2007, 12:03:00 AM2/3/07
to Django developers
On Jan 30, 8:37 pm, Vadim Macagon <v...@cubik.org> wrote:
> A two line change to BoundField will do the trick, I can submit a patch
> if desired.

I would suggest filing a ticket so that your suggestion and patch
don't get forgotten.

http://code.djangoproject.com/simpleticket

Reply all
Reply to author
Forward
0 new messages