settings: options for text editor and let host use x forwarded

Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
rascencio 2015-05-31 05:32:11 -06:00
parent 24c263811a
commit f3b560f602
2 changed files with 7 additions and 1 deletions

View file

@ -316,7 +316,9 @@ THUMBNAIL_PROCESSORS = (
# django-cms-text-ckeditor # django-cms-text-ckeditor
TEXT_SAVE_IMAGE_FUNCTION='cmsplugin_filer_image.integrations.ckeditor.create_image_plugin' TEXT_SAVE_IMAGE_FUNCTION='cmsplugin_filer_image.integrations.ckeditor.create_image_plugin'
TEXT_ADDITIONAL_TAGS = ('iframe',)
TEXT_ADDITIONAL_ATTRIBUTES = ('scrolling', 'allowfullscreen', 'frameborder')
USE_X_FORWARDED_HOST = True
try: try:
from .local.local_settings import * from .local.local_settings import *
except ImportError as e: except ImportError as e:

View file

@ -397,3 +397,7 @@ body {
.text-center { .text-center {
text-align: center; text-align: center;
} }
.blog-content img {
width: 100%;
}