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 very important. E.g I dont want every > model to be registerd in my "meta-model" Apps only some of my models.
I think you've misunderstood how signals work; you can selectively do something only when a certain specific class is first loaded. -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---