Re: Question about methods

2010-02-24 Thread piz...@gmail.com
El 25/02/2010, a las 0:14, Daniel Roseman escribió: You can't use a method there. The form is for editing fields - it doesn't make sense to edit the result of a method call. -- DR. I've just missed that. If fact in the tutorial is in the list_display, not in the fieldsets. I've changed it a

Re: Question about methods

2010-02-24 Thread Daniel Roseman
On Feb 24, 10:48 pm, "piz...@gmail.com" wrote: > Hello, > > I'm trying to show the result of a model method in the admin view. My   > problem is that the dev server crashes with this error: > > Exception Value:        'PersonaAdmin.fieldsets[3][1]['fields']' refers to   > field 'age' that is missi

Question about methods

2010-02-24 Thread piz...@gmail.com
Hello, I'm trying to show the result of a model method in the admin view. My problem is that the dev server crashes with this error: Exception Value: 'PersonaAdmin.fieldsets[3][1]['fields']' refers to field 'age' that is missing from the form. I have the method 'age' inside a class named