[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: karaage



On 16 July 2010 17:58, Toni Mueller <toni@debian.org> wrote:
> I'd guess that this translates to your Django app in the following way:
>
> settings.py becomes eg.
>
> execfile("/etc/karaage/settings.py")

Thanks!

This seems a really good answer. Furthermore, looks like I should be
able to do setup default variables first, and have the settings.py
inspect/modify these values,

e.g.:

INSTALLED_APPS = ( ... stuff here ... )
execfile("/etc/karaage/settings.py")

... and in /etc/karaage/settings.py ...

INSTALLED_APPS += ( ... local apps required ...)

Which is a much better solution for this problem then trying to use
import everywhere (as i was).

It is the weekend here now, will try it for sure next Monday.
-- 
Brian May <brian@microcomaustralia.com.au>


Reply to: