2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 16:51:54 +00:00

Added settings hooks for TinyMCE. On debian apt-get install tinymce python-django-tinymce

This commit is contained in:
Martin Green 2011-05-01 19:58:38 +01:00
parent b001df1f53
commit 6d7691791a
3 changed files with 10 additions and 1 deletions

View File

@ -28,6 +28,9 @@ MEDIA_ADMIN_DIR = '/usr/lib/python2.4/site-packages/django/contrib/admin/media/'
URL_ROOT = "http://troggle.cavingexpedition.com/"
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
TINY_MCE_MEDIA_URL = URL_ROOT + 'tinymce_media/'
TEMPLATE_DIRS = (
"/home/expo/troggle/templates",
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".

View File

@ -32,6 +32,9 @@ MEDIA_ROOT = '/home/goatchurch/expoweb/troggle/media/'
URL_ROOT = 'http://127.0.0.1:8000'
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
TINY_MCE_MEDIA_URL = URL_ROOT + 'tinymce_media/'
TEMPLATE_DIRS = (
"/home/goatchurch/expoweb/troggle/templates",
# Put strings here, like "/home/html/django_templates" or "C:/www/django/templates".

View File

@ -17,6 +17,9 @@ PHOTOS = 'C:\\Expo\\expoweb\\photos'
URL_ROOT = 'http://127.0.0.1:8000'
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
TINY_MCE_MEDIA_URL = URL_ROOT + 'tinymce_media/'
PYTHON_PATH = 'C:\\expoweb\\troggle\\'
MEDIA_ROOT = 'C:/Expo/expoweb/troggle/media/'
@ -46,4 +49,4 @@ TEMPLATE_DIRS = (
# 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.
)
)