Can anyone tell me what variable the admin template (change_form.html) uses to describe the object being edited?
I'm trying to alter the change form for a particular model (Employee) to display a field from that model (Surname) as a title, rather than "Change Employee". I can do it if I write a whole new view and define my own variables, but then I lose a lot of the Admin functionality. I'd prefer to just change the title line of the admin template. However, I don't know what the default variable is for the object being edited in the admin view. I've tried using {{ Employee.Surname}}, and also a bunch of potential "default" variables: {{ object.Surname }}, {{ item.Surname }}, {{ model.Surname }} and {{ detail.surname }} - upper and lowercase variants of each. So far, no luck. Please tell me if you know! Thanks, Bianca --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---