diff options
author | Martin Green <martin.speleo@gmail.com> | 2011-05-01 19:58:38 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2011-05-01 19:58:38 +0100 |
commit | 79562d8e6de4b004a9c40fc6e2c9d37e054df331 (patch) | |
tree | adfd25269aaa4bd94c1e141d4d9b7cdae10f9162 | |
parent | a26310767ba885bcb403e08f8060f045e4716e08 (diff) | |
download | troggle-79562d8e6de4b004a9c40fc6e2c9d37e054df331.tar.gz troggle-79562d8e6de4b004a9c40fc6e2c9d37e054df331.tar.bz2 troggle-79562d8e6de4b004a9c40fc6e2c9d37e054df331.zip |
Added settings hooks for TinyMCE. On debian apt-get install tinymce python-django-tinymce
-rw-r--r-- | localsettingsserver.py | 3 | ||||
-rw-r--r-- | localsettingsubuntu.py | 3 | ||||
-rw-r--r-- | localsettingswindows.py | 5 |
3 files changed, 10 insertions, 1 deletions
diff --git a/localsettingsserver.py b/localsettingsserver.py index 732c091..f5ed640 100644 --- a/localsettingsserver.py +++ b/localsettingsserver.py @@ -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". diff --git a/localsettingsubuntu.py b/localsettingsubuntu.py index 718af0e..3c7cce2 100644 --- a/localsettingsubuntu.py +++ b/localsettingsubuntu.py @@ -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". diff --git a/localsettingswindows.py b/localsettingswindows.py index 8a42918..dfee0a5 100644 --- a/localsettingswindows.py +++ b/localsettingswindows.py @@ -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.
-)
\ No newline at end of file +) |