summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--localsettingsserver.py2
-rw-r--r--localsettingswindows.py14
2 files changed, 10 insertions, 6 deletions
diff --git a/localsettingsserver.py b/localsettingsserver.py
index def4aac..22d55be 100644
--- a/localsettingsserver.py
+++ b/localsettingsserver.py
@@ -11,6 +11,8 @@ EXPOWEB = '/home/mjg/expoweb'
PYTHON_PATH = '/home/mjg/expoweb/troggle/'
+URL_ROOT = "/"
+
TEMPLATE_DIRS = (
"/home/mjg/expoweb/troggle/templates",
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".
diff --git a/localsettingswindows.py b/localsettingswindows.py
index a5a1c77..a264e8d 100644
--- a/localsettingswindows.py
+++ b/localsettingswindows.py
@@ -1,16 +1,18 @@
DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
DATABASE_NAME = 'troggle' # Or path to database file if using sqlite3.
-DATABASE_USER = 'root' # 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.
+DATABASE_USER = 'troggle' # Not used with sqlite3.
+DATABASE_PASSWORD = 'troggle' # Not used with sqlite3.
+DATABASE_HOST = 'localhost' # Set to empty string for localhost. Not used with sqlite3.
+DATABASE_PORT = '3306' # Set to empty string for default. Not used with sqlite3.
-SURVEX_DATA = 'c:\\Expo\\loser\\'
+SURVEX_DATA = 'c:\\loser\\'
CAVERN = '"C:\\Program Files\\Survex\\cavern"'
-EXPOWEB = 'C:\\Expo\\expoweb\\'
+EXPOWEB = 'C:\\expoweb\\'
PYTHON_PATH = 'C:\\expoweb\\troggle\\'
+URL_ROOT = "/"
+
TEMPLATE_DIRS = (
"c:/expoweb/troggle/templates",
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".