summaryrefslogtreecommitdiff
path: root/settings.py
diff options
context:
space:
mode:
authoretienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35>2009-12-03 20:14:54 +0000
committeretienne <etienne@07715635-78ed-41b0-aaf1-0afda6c37f35>2009-12-03 20:14:54 +0000
commit25e778bebb1804aeaf0d7716119bcbfbe967e8b2 (patch)
tree422921259d8d4512c490f84a208ea3f11b924107 /settings.py
parent4182410b07eaff60effce203be0daaded3b0a8be (diff)
downloadPapillon-25e778bebb1804aeaf0d7716119bcbfbe967e8b2.tar.bz2
Papillon-25e778bebb1804aeaf0d7716119bcbfbe967e8b2.zip
Add tinyMCE editor for description
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/settings.py b/settings.py
index 081d7ca..85ae8c8 100644
--- a/settings.py
+++ b/settings.py
@@ -7,7 +7,11 @@ DEBUG = True
TEMPLATE_DEBUG = DEBUG
ROOT_PATH = '/var/local/django/papillon/'
-BASE_SITE = 'http://localhost:8000/papillon'
+SERVER_URL = 'http://localhost:8000/'
+EXTRA_URL = 'papillon/'
+BASE_SITE = SERVER_URL + EXTRA_URL
+
+TINYMCE_URL = 'http://localhost/tinymce/'
# time to live in days
DAYS_TO_LIVE = 30
@@ -44,16 +48,16 @@ USE_I18N = True
# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = ROOT_PATH + 'media/'
+MEDIA_ROOT = ROOT_PATH + 'static/'
# URL that handles the media served from MEDIA_ROOT.
# Example: "http://media.lawrence.com"
-MEDIA_URL = BASE_SITE
+MEDIA_URL = BASE_SITE + 'static/'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
-ADMIN_MEDIA_PREFIX = BASE_SITE + '/media/'
+ADMIN_MEDIA_PREFIX = BASE_SITE + 'media/'
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'replace_this_with_something_else'