Commit 30234169 authored by chris's avatar chris

flyers/settings: TEMPLATES use APP_DIRS instead of loaders

parent 0eca95b3
......@@ -94,7 +94,8 @@ CKEDITOR_UPLOAD_PATH = os.path.join(BASE_DIR, 'media', 'uploads')
CKEDITOR_CONFIGS = {
'default': {
'toolbar_Full': [
['Styles', 'Format', 'Bold', 'Italic', 'Underline', 'Strike', 'SpellChecker', 'Undo', 'Redo'],
['Styles', 'Format', 'Bold', 'Italic', 'Underline', 'Strike',
'SpellChecker', 'Undo', 'Redo'],
['Image', 'Link', 'Flash', 'Table', 'HorizontalRule'],
['TextColor', 'BGColor'],
['Smiley', 'SpecialChar'], ['Source'],
......@@ -103,7 +104,7 @@ CKEDITOR_CONFIGS = {
},
}
CKEDITOR_JQUERY_URL = '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'
#CKEDITOR_JQUERY_URL = '//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'
TEMPLATES = [
{
......@@ -111,6 +112,7 @@ TEMPLATES = [
'DIRS': [
# insert your TEMPLATE_DIRS here
],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
# Insert your TEMPLATE_CONTEXT_PROCESSORS here or use this
......@@ -125,15 +127,13 @@ TEMPLATES = [
'django.template.context_processors.tz',
'django.contrib.messages.context_processors.messages',
],
'loaders': [
# insert your TEMPLATE_LOADERS here
]
},
},
]
LANGUAGE_CODE = 'fr-be'
SITE_MULTILINGUAL = False
'''
LANGUAGES = (
('en', 'English'),
......@@ -145,7 +145,7 @@ LANGUAGES = (
try:
from local_settings import *
except ImportError, e:
except ImportError as e:
pass
if SITE_MULTILINGUAL:
......
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