Hi everyone,
I am trying to access the fields values on then
admin/includes/fieldset.html<http://code.djangoproject.com/browser/django/branches/newforms-admin/django/contrib/admin/templates/admin/includes/fieldset.html>template.
I know I can access the verbose label name with {{ field.label_tag }} and
the plain field name with {{ field.field.name }}, but I want to have access
to the initial value of each field.
I tried {{ field.field.initial }}, {{ field.initial }} and {{ field.data }}
{{ field.field.data }} without any luck.
I have found a workaround using {{ original }} but it requires me to know
the field names ahead of time.
Thanks in advance,
Ariel.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---