summaryrefslogtreecommitdiff
path: root/web
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2008-12-18 10:49:52 +0100
committerEdward Hervey <bilboed@bilboed.com>2008-12-18 10:49:52 +0100
commit2970052d2c08ee2489680f379a8920277825ff3c (patch)
tree242c4a40ff7b3dc11ddc89ae7e4cc7670ae2f2a1 /web
parent648f3a8cb46ef27f7aa0102cf1976fdcaccc2518 (diff)
Revert yet-another wrong commit of settings.py
Diffstat (limited to 'web')
-rw-r--r--web/settings.py19
1 files changed, 5 insertions, 14 deletions
diff --git a/web/settings.py b/web/settings.py
index 5ca9ee9..3ad4317 100644
--- a/web/settings.py
+++ b/web/settings.py
@@ -4,25 +4,18 @@ PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
# Django settings for web project.
DEBUG = True
-SQL_DEBUG = DEBUG
TEMPLATE_DEBUG = DEBUG
ADMINS = (
# ('Your Name', 'your_email@domain.com'),
)
-INTERNAL_IPS = ('127.0.0.1',)
-
MANAGERS = ADMINS
-#DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
-#DATABASE_NAME = os.path.join(PROJECT_PATH, '..', 'testrun.db') # Or path to database file if using sqlite3.
-DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
-DATABASE_NAME = 'insanity' # Or path to database file if using sqlite3.
-#DATABASE_USER = '' # Not used with sqlite3.
-#DATABASE_PASSWORD = '' # Not used with sqlite3.
-DATABASE_USER = 'insanity' # Not used with sqlite3.
-DATABASE_PASSWORD = 'madness' # Not used with sqlite3.
+DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
+DATABASE_NAME = os.path.join(PROJECT_PATH, '..', 'testrun.db') # Or path to database file if using sqlite3.
+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.
@@ -72,7 +65,6 @@ MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.middleware.doc.XViewMiddleware',
- 'debug_toolbar.middleware.DebugToolbarMiddleware',
)
ROOT_URLCONF = 'web.urls'
@@ -90,6 +82,5 @@ INSTALLED_APPS = (
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
- 'web.insanity',
- 'debug_toolbar'
+ 'web.insanity'
)