On 16 July 2010 17:58, Toni Mueller <[email protected]> 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 <[email protected]>


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to