# HG changeset patch # User Steve Losh # Date 1232060814 18000 # Node ID 996ce4122e2f1532c5be4c5fb1abc607e0979b63 # Parent 8ddcf2364ea74202666f673e88ac6c70967a4fea Added a template for deploy.py. diff -r 8ddcf2364ea7 -r 996ce4122e2f .hgignore --- a/.hgignore Thu Jan 15 17:49:23 2009 -0500 +++ b/.hgignore Thu Jan 15 18:06:54 2009 -0500 @@ -5,8 +5,12 @@ *.tmproj fabfile.py -deploy*.py *.db site-media/storage/* +syntax: regexp +# This is ugly but it works. +deploy-[^t][^e][^m][^p].* +deploy\.py + diff -r 8ddcf2364ea7 -r 996ce4122e2f deploy-template.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/deploy-template.py Thu Jan 15 18:06:54 2009 -0500 @@ -0,0 +1,17 @@ +# Rename this to deploy.py when you've filled in everything. + +DATABASE_ENGINE = '' +DATABASE_NAME = '' +DATABASE_USER = '' +DATABASE_PASSWORD = '' +DATABASE_HOST = '' +DATABASE_PORT = '' + +DEBUG = False + +# The longer the better. Django automatically generates one for you when you +# start a new project. +SECRET_KEY = '' + +# Make sure it ends in a trailing slash! +BASE_DIR = '/full/path/to/project/directory/'