2009-09-14 23:09:50 +01:00
|
|
|
import sys
|
|
|
|
sys.path.append("/home/expo/troggle")
|
|
|
|
|
2009-05-13 05:13:38 +01:00
|
|
|
DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
|
2009-05-13 05:15:49 +01:00
|
|
|
DATABASE_NAME = 'troggle' # Or path to database file if using sqlite3.
|
2009-05-13 05:13:38 +01:00
|
|
|
DATABASE_USER = 'undemocracy' # Not used with sqlite3.
|
|
|
|
DATABASE_PASSWORD = 'aiGohsh5' # 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.
|
|
|
|
|
2009-09-14 23:09:50 +01:00
|
|
|
SURVEX_DATA = '/home/expo/loser/'
|
2009-05-13 05:13:38 +01:00
|
|
|
CAVERN = 'cavern'
|
2009-09-14 23:09:50 +01:00
|
|
|
EXPOWEB = '/home/expo/expoweb/'
|
|
|
|
SURVEYS = '/home/expo/'
|
|
|
|
SURVEY_SCANS = '/home/expo/expoimages/'
|
|
|
|
FILES = '/home/expo/expoimages'
|
2011-05-02 00:53:44 +01:00
|
|
|
EXPOWEB_URL = 'http://expo.survex.com/'
|
2009-05-13 05:33:09 +01:00
|
|
|
|
2009-09-14 23:09:50 +01:00
|
|
|
SURVEYS_URL = 'http://troggle.cavingexpedition.com/survey_scans/'
|
2009-05-13 05:17:50 +01:00
|
|
|
|
2009-05-13 05:23:25 +01:00
|
|
|
SVX_URL = 'http://framos.lawoftheland.co.uk/troggle/survex/'
|
|
|
|
|
2009-09-14 23:09:50 +01:00
|
|
|
PYTHON_PATH = '/home/expo/troggle/'
|
2009-05-13 05:17:50 +01:00
|
|
|
|
2009-09-14 23:09:50 +01:00
|
|
|
MEDIA_URL = 'http://troggle.cavingexpedition.com/site_media/'
|
2009-05-13 05:23:37 +01:00
|
|
|
|
2009-09-14 23:09:50 +01:00
|
|
|
MEDIA_ROOT = '/home/expo/troggle/media/'
|
|
|
|
MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/'
|
2009-05-13 05:23:37 +01:00
|
|
|
|
2009-09-14 23:09:50 +01:00
|
|
|
URL_ROOT = "http://troggle.cavingexpedition.com/"
|
2009-05-13 05:20:31 +01:00
|
|
|
|
2011-05-01 19:58:38 +01:00
|
|
|
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
|
|
|
|
TINY_MCE_MEDIA_URL = URL_ROOT + 'tinymce_media/'
|
|
|
|
|
2009-05-13 05:17:50 +01:00
|
|
|
TEMPLATE_DIRS = (
|
2009-09-14 23:09:50 +01:00
|
|
|
"/home/expo/troggle/templates",
|
2009-05-13 05:17:50 +01:00
|
|
|
# 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.
|
|
|
|
)
|
2009-09-14 23:09:50 +01:00
|
|
|
|
|
|
|
LOGFILE = '/home/expo/troggle/troggle_log.txt'
|
|
|
|
|
|
|
|
FEINCMS_ADMIN_MEDIA='/site_media/feincms/'
|
|
|
|
|
|
|
|
EMAIL_HOST = "smtp.gmail.com"
|
|
|
|
|
|
|
|
EMAIL_HOST_USER = "cuccexpo@gmail.com"
|
|
|
|
|
|
|
|
EMAIL_HOST_PASSWORD = "khvtffkhvtff"
|
|
|
|
|
|
|
|
EMAIL_PORT=587
|
|
|
|
|
|
|
|
EMAIL_USE_TLS = True
|