Hallöchen!

In a display template (not a form, just display), I write the
following:

    <td>{% trans 'Temperature:' %}</td>
    <td>{{ layer.heating_temperature }}</td>

I'd like to use the verbose_name of the model instance instead of
hard-wiring the label in the template.  How can I access it?

Tschö,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus
                   Jabber ID: [EMAIL PROTECTED]


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to