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 __str__(self): I then split using the get_value_x and get_value_y filters to strip out the values that I am interested in. Is there a better way of doing this, i.e., to get the value directly from the bound_field somehow. I did think bound_field.initial.value_x would work but this doesn't. Any thoughts anyone? Regards, Martin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---