Figured this one out...
{{ bound_field.original.value_x }}
value_x being a field in your model class
easy when you know how.
On May 12, 3:05 pm, mbdtsmh <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> How would you go about extracting the value from a bound_field object?
> (within the admin change_f
Hi all,
How would you go about extracting the value from a bound_field object?
(within the admin change_form.html template)
At the moment I am using
{{ bound_field.original|get_value_x }}
{{ bound_field.original|get_value_y }}
this pulls back the values from the model as described in the def
_
2 matches
Mail list logo