# HG changeset patch # User Madhusudan.C.S # Date 1294665074 -19800 # Node ID 8895c6020abc69e25763b123550c9f5a5c364fc5 # Parent cb3fbfc78c345a37efdcd0ee260ce32d13d320b9 Moved all database related settings to local file. diff -r cb3fbfc78c34 -r 8895c6020abc pytask/settings.py --- a/pytask/settings.py Mon Jan 10 18:34:48 2011 +0530 +++ b/pytask/settings.py Mon Jan 10 18:41:14 2011 +0530 @@ -2,10 +2,7 @@ import os -from pytask.local import DATABASE_PASSWORD -from pytask.local import DATABASE_USER -from pytask.local import DEBUG -from pytask.local import TEMPLATE_DEBUG +from pytask.local import * ADMINS = ( ('Madhusudan C.S.', 'madhusudancs@fossee.in'), @@ -13,15 +10,6 @@ MANAGERS = ADMINS -DATABASE_ENGINE = 'postgresql_psycopg2' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. -DATABASE_NAME = 'pytask' # Or path to database file if using sqlite3. - -# These variables are set in a file not tracked by revision control systems. -#DATABASE_USER = '' # Not used with sqlite3. -#DATABASE_PASSWORD = '' # Not used with sqlite3. -DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. -DATABASE_PORT = '' # Set to empty string for default. Not used with sqlite3. - # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name # although not all choices may be available on all operating systems.