Hi,

On Fri, 16.07.2010 at 10:03:24 +1000, Brian May 
<br...@microcomaustralia.com.au> 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 debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100716075815.27124.qm...@oak.oeko.net

Reply via email to