Blog Archive for January 24, 2011

Specifying Alternate Settings with Django Jython WAR

January 24, 2011

I have a web application, written in Django that I want to deploy in Tomcat using Jython. I want to use seperate settings.py files for development and production.

In order to specify the settingslive.py file when building the WAR file, we can do this:

jython manage.py war --settings=settingslive

Unfortunately, this …