From 901c2ad3f52fbc30e968e0efed30eb7cd0d89b99 Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 3 Nov 2008 00:22:19 +0100 Subject: [PATCH] [svn r8057] Moved templates and python path into the various localsettings files --- troggle/localsettingsserver.py | 9 +++++++++ troggle/localsettingswindows.py | 11 ++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/troggle/localsettingsserver.py b/troggle/localsettingsserver.py index 72df43c5c..def4aacf5 100644 --- a/troggle/localsettingsserver.py +++ b/troggle/localsettingsserver.py @@ -8,3 +8,12 @@ DATABASE_PORT = '' # Set to empty string for default. Not used with SURVEX_DATA = '' CAVERN = 'cavern' EXPOWEB = '/home/mjg/expoweb' + +PYTHON_PATH = '/home/mjg/expoweb/troggle/' + +TEMPLATE_DIRS = ( + "/home/mjg/expoweb/troggle/templates", + # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". + # Always use forward slashes, even on Windows. + # Don't forget to use absolute paths, not relative paths. +) diff --git a/troggle/localsettingswindows.py b/troggle/localsettingswindows.py index 2ac583b97..a5a1c7757 100644 --- a/troggle/localsettingswindows.py +++ b/troggle/localsettingswindows.py @@ -7,4 +7,13 @@ DATABASE_PORT = '' # Set to empty string for default. Not used with SURVEX_DATA = 'c:\\Expo\\loser\\' CAVERN = '"C:\\Program Files\\Survex\\cavern"' -EXPOWEB = 'C:\\Expo\\expoweb\\' \ No newline at end of file +EXPOWEB = 'C:\\Expo\\expoweb\\' + +PYTHON_PATH = 'C:\\expoweb\\troggle\\' + +TEMPLATE_DIRS = ( + "c:/expoweb/troggle/templates", + # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". + # Always use forward slashes, even on Windows. + # Don't forget to use absolute paths, not relative paths. +) \ No newline at end of file