Re: How to create field not stored in database, but visible in admin?

2008-07-08 Thread Norman Harman
Marek Stępniowski wrote: > How to create a field that is not stored in database, but is visible > in Django newforms-admin? (I'm assuming there is a way) > > I would like to define a field which acts as a kind of proxy. Setting > and getting value of this field actually runs some defined

Re: How to create field not stored in database, but visible in admin?

2008-07-08 Thread Malcolm Tredinnick
On Tue, 2008-07-08 at 11:49 +0200, Marek Stępniowski wrote: > How to create a field that is not stored in database, but is visible > in Django newforms-admin? (I'm assuming there is a way) A model "field" is something that is stored in the database, by definition. If it's not stored in the

How to create field not stored in database, but visible in admin?

2008-07-08 Thread Marek Stępniowski
How to create a field that is not stored in database, but is visible in Django newforms-admin? (I'm assuming there is a way) I would like to define a field which acts as a kind of proxy. Setting and getting value of this field actually runs some defined operation (for example executes custom SQL