Użytkownik Ed Leafe napisał:
> 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.
>    

Ok, thanks.

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

Ok, I will do that. I'll be in touch this evening.

-- 
Regards
Jacek Kałucki


_______________________________________________
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]

Reply via email to