Re: Displaying Calculated Values in Django Admin

2009-12-17 Thread Streamweaver
Thanks for the reply. I'm still working with this and have it working in cases of editing records but when I try to create a new record it throws an error as would be expected since there's no instance to read the initial values from. I tried putting an is_bound check to give a devault but of cou

Re: Displaying Calculated Values in Django Admin

2009-12-16 Thread Matt Schinckel
On Dec 17, 12:03 pm, Streamweaver wrote: > Is it possible to display calculated values for models in the admin > interface.  I know about the list_display attribute for model.Admin > but all I really want to do is add text to a model edit form so I can > see calculated values. > > For instance I h

Displaying Calculated Values in Django Admin

2009-12-16 Thread Streamweaver
Is it possible to display calculated values for models in the admin interface. I know about the list_display attribute for model.Admin but all I really want to do is add text to a model edit form so I can see calculated values. For instance I have a model called Profile with a DateField called bi