Hi,

On Fri, 16.07.2010 at 10:03:24 +1000, Brian May 
<[email protected]> wrote:
> python path, and then karaage can import then using "import
> karaage.conf.settings" for example. Use of dist-utils and cdbs makes
> the debian/rules file very simple.
> 
> However, from the point of view of the package, it would be better if
> we could put the config files under /etc/karaage.

in roundup, I inherited the following solution, which I find almost
practical (could be better, but works ok):

...
execfile("/etc/roundup/cgiconf.py")
...


The file contains some Python code to set variables and such.

I'd guess that this translates to your Django app in the following way:

settings.py becomes eg.

execfile("/etc/karaage/settings.py")


-- 
Kind regards,
--Toni++


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