On Sun, Jun 22, 2008 at 4:41 AM, mwebs <[EMAIL PROTECTED]> wrote:
> It seems as if these signals have to be used in management.py, but
> what I need is something I can use directly in my model code.
> Something like overloading a method. The fact that this should be
> happen in the model-class is
Hi,
It seems as if these signals have to be used in management.py, but
what I need is something I can use directly in my model code.
Something like overloading a method. The fact that this should be
happen in the model-class is very important. E.g I dont want every
model to be registerd in my
try `class_prepared` or `post_syncdb` signals
On Jun 21, 3:43 pm, mwebs <[EMAIL PROTECTED]> wrote:
> I want to register a specific model(not an object of the model, the
> model itself) in another model.
> This should be done the first time the model is deployed with syncdb.
>
> So what I need is
I want to register a specific model(not an object of the model, the
model itself) in another model.
This should be done the first time the model is deployed with syncdb.
So what I need is the function that is called the first time a model
is deployed, so that I can extend this function and
4 matches
Mail list logo