Hello all, I'm trying to make use of the class_prepared signal to add some functionality to all models.
The problem I'm facing is how to properly register my listener. I need to register the listener before any models are prepared, but I can't seem to figure out how to accomplish this. Right now I have it registered in __init__.py in my application, and put that application first in my settings module. This works in the shell because of a work-around for #1796 that forces loading of all models through get_models (a work-around which, perhaps, should be removed since #1796 was fixed). This work-around isn't present in the mod_python or wsgi handlers, so this approach doesn't work for non-interactive (shell) sessions. Any assistance/ideas would be appreciated. Thanks, - Ben --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---