Re: Object attributes in change_form.html

2009-07-14 Thread janedenone
That did the trick. Thank you very much! - Jan On Jul 14, 12:53 pm, Ryan K wrote: > I'm not sure but try {{ original }} ...here is the code: > > http://code.djangoproject.com/browser/django/trunk/django/contrib/adm... > >     context = { > 860                 'title': _('Change %s') % force_uni

Re: Object attributes in change_form.html

2009-07-14 Thread Ryan K
I'm not sure but try {{ original }} ...here is the code: http://code.djangoproject.com/browser/django/trunk/django/contrib/admin/options.py context = { 860 'title': _('Change %s') % force_unicode (opts.verbose_name), 861 'adminform': adminForm, 862

Re: Object attributes in change_form.html

2009-07-14 Thread janedenone
On Jul 13, 10:05 pm, janedenone wrote: > On Jul 13, 6:07 pm, Daniel Roseman wrote: > > > > > > > On Jul 13, 4:02 pm, janedenone wrote: > > > > Hi, > > > > I read the documentation on customizing admin templates, but I still > > > wonder how to access the object attributes in the change_form.htm

Re: Object attributes in change_form.html

2009-07-13 Thread janedenone
On Jul 13, 6:07 pm, Daniel Roseman wrote: > On Jul 13, 4:02 pm, janedenone wrote: > > > > > > > Hi, > > > I read the documentation on customizing admin templates, but I still > > wonder how to access the object attributes in the change_form.html. I > > am capable of getting the id using {{ obj

Re: Object attributes in change_form.html

2009-07-13 Thread Daniel Roseman
On Jul 13, 4:02 pm, janedenone wrote: > Hi, > > I read the documentation on customizing admin templates, but I still > wonder how to access the object attributes in the change_form.html. I > am capable of getting the id using {{ object_id }}: > > {% if change %}{% if not is_popup %} >   >     c

Object attributes in change_form.html

2009-07-13 Thread janedenone
Hi, I read the documentation on customizing admin templates, but I still wonder how to access the object attributes in the change_form.html. I am capable of getting the id using {{ object_id }}: {% if change %}{% if not is_popup %} {% trans "View Calculation" %} ... but I need to access