Commit b7cf0cfe authored by Christophe Siraut's avatar Christophe Siraut

Add a link button to ckeditor

parent a537acdb
# -*- coding: utf-8 -*
# Personal settings for Flyers
'''
# Example
LANGUAGE_CODE = 'fr-be'
LANGUAGES = (
('en', 'English'),
......@@ -9,3 +11,4 @@ LANGUAGES = (
('ca', 'Català'),
)
SITE_MULTILINGUAL = False
'''
......@@ -89,7 +89,18 @@ STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
CKEDITOR_UPLOAD_PATH = os.path.join(BASE_DIR, 'media', 'uploads')
CKEDITOR_CONFIGS = {
'default': {
'toolbar_Full': [
['Styles', 'Format', 'Bold', 'Italic', 'Underline', 'Strike', 'SpellChecker', 'Undo', 'Redo'],
['Image', 'Link', 'Flash', 'Table', 'HorizontalRule'],
['TextColor', 'BGColor'],
['Smiley', 'SpecialChar'], ['Source'],
]
},
}
from django.conf import global_settings
TEMPLATE_CONTEXT_PROCESSORS = global_settings.TEMPLATE_CONTEXT_PROCESSORS + (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment