I'm trying to customize admin template fieldset.html and I need to
show field's value without widget. The loop there is: for line in
fieldset | for field in line. The widget is shown like this:
field.field. I tried field.initial, and various combinations; the only
way I found to show dictionary of form values is:
field.field.form.initial . But I need the value of that particular
field. How can I do this?
Also: how can I do something similar to {{ dir(field) }} ? It would be
extremely helpful because it can be very hard to track down the
properties / methods of whatever object is passed to the template in
django code. 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.