Re: Value from bound_field objects

2008-05-13 Thread mbdtsmh
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

Value from bound_field objects

2008-05-12 Thread mbdtsmh
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 _