fix: using MEDIA_URL inside templates.

wip: #36, using tinyMCE (django-tinymce) to write messages in HTML. Currently, compose a new message is working pretty well. Answering or forwarding a message is still a mess...
This commit is contained in:
tonio
2010-08-05 17:17:50 +02:00
parent 7629aca34c
commit 01fda22180
38 changed files with 191 additions and 78 deletions
+2 -1
View File
@@ -43,7 +43,7 @@ MEDIA_ROOT = ''
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = ''
MEDIA_URL = '/static/'
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
@@ -89,6 +89,7 @@ INSTALLED_APPS = (
'django.contrib.sites',
'django.contrib.messages',
'south',
'tinymce',
'modoboa',
'modoboa.lib',
'modoboa.admin',