On 10/17/10 1:36 AM, Jacek Kałucki wrote: > Hi. > > 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? > 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?
We need to unify this. I'll take the blame for not thinking this one through - I regretted it almost immediately. I think we should do away with 'from settings import *' and that code should reference 'dabo.settings'. Paul _______________________________________________ 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]
