Marc Fargas wrote:
> So, if you need to hook something that need to run *once* after django
> loads (at any level) you need to either monkey-patch or patch Django
> itself. 

For the record, there's a better (IMO) workaround: create an app with a 
models.py and put logic there. It will be loaded just at the end of 
everything when settings are ready.

Still, it's a workaround and a proper signal would be useful and its 
time is more or less obvious: after all apps in INSTALLED_APPS are loaded.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to