I think one way to go is with factories.
The packages don't know nothing where settings coming from. These
settings are passed within a constructor or something and django would
use factories that know to look from django.conf.settings and passed
them to the new object.

Although i don't get it yet, i think dependency injection
(http://www.martinfowler.com/articles/injection.html) could be a
possible solution :-)


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to