Re: Some thoughts about the new settings.configure() and decoupling

2006-05-23 Thread David Elias
Malcolm Tredinnick wrote: > Hi David, > > On Mon, 2006-05-22 at 15:06 -0700, David Elias wrote: > > 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 fac

Re: Some thoughts about the new settings.configure() and decoupling

2006-05-22 Thread Malcolm Tredinnick
Hi David, On Mon, 2006-05-22 at 15:06 -0700, David Elias wrote: > 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.con

Some thoughts about the new settings.configure() and decoupling

2006-05-22 Thread David Elias
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 ye