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 a26310767b
commit 79562d8e6d
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/" URL_ROOT = "http://troggle.cavingexpedition.com/"
TINY_MCE_MEDIA_ROOT = '/usr/share/tinymce/www/'
TINY_MCE_MEDIA_URL = URL_ROOT + 'tinymce_media/'
TEMPLATE_DIRS = ( TEMPLATE_DIRS = (
"/home/expo/troggle/templates", "/home/expo/troggle/templates",
# Put strings here, like "/home/html/django_templates" or "C:/www/django/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' 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 = ( TEMPLATE_DIRS = (
"/home/goatchurch/expoweb/troggle/templates", "/home/goatchurch/expoweb/troggle/templates",
# Put strings here, like "/home/html/django_templates" or "C:/www/django/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' 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\\' PYTHON_PATH = 'C:\\expoweb\\troggle\\'
MEDIA_ROOT = 'C:/Expo/expoweb/troggle/media/' MEDIA_ROOT = 'C:/Expo/expoweb/troggle/media/'