On Oct 17, 2010, at 4:36 AM, Jacek Kałucki wrote:
> I see that you import settings.py module into Dabo namespace.
> But in framework you use variant referencing methods,
> in some places you use 'dabo.somevar' but in other 'dabo.settings.somevar'.
> What referencing method should I use in my application?
You should use 'dabo.somevar'. That is the standard; the settings file
is simply a way of isolating the parts of the framework that the user can
change in settings_override.py.
> It's important, if I change some setting, e.g. dabo.somevar = "foo",
> and now dabo.somevar <> dabo.settings.somevar.
> Now I must look over the framework in which way it's referenced.
> Could it be made some unification here?
Sure! If you want to tackle that, go ahead. I may not be able to get to
it today.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]