On 7 déc, 18:55, Waqqas Jabbar wrote:
> I want that I could override get/set on a field of my model. I want to
> redirect get/set
> to another field of some other model.
So what you want is not "a field of your model", it's to expose
another field of another model as if it was an attribute of the
I want that I could override get/set on a field of my model. I want to
redirect get/set
to another field of some other model.
On Mon, Dec 7, 2009 at 8:47 PM, Daniel Hirsch wrote:
> I'm not clear what you're asking. Do you want a custom get/set on a
> particular database field in one of your mode
I'm not clear what you're asking. Do you want a custom get/set on a
particular database field in one of your models (tables)?
On Dec 7, 1:18 am, Waqqas Jabbar wrote:
> Peace to all,
>
> I want to do a custom implementation of "get" and "set" functions of a
> database model. Do I ve to write a cus
Peace to all,
I want to do a custom implementation of "get" and "set" functions of a
database model. Do I ve to write a custom model manager or derive a class
from models.Model ?
Is it possible to write custom "get" and "set" functions for a model field ?
goto
--
You received this message becau
4 matches
Mail list logo