~dholbach/ubucon-site/small-fixes

« back to all changes in this revision

Viewing changes to ubucon_site/settings/__init__.py

  • Committer: David Planella
  • Date: 2015-12-11 12:05:21 UTC
  • mfrom: (35.1.1 ubucon-site)
  • Revision ID: david.planella@ubuntu.com-20151211120521-f36dabif2lg6po88
Enable the usage of iframes in the text editor

Show diffs side-by-side

added added

removed removed

Lines of Context:
250
250
# Django 1.6 uses a JSON serializer by default, which breaks
251
251
# django_openid_auth, so force it to use the old default
252
252
SESSION_SERIALIZER = 'django.contrib.sessions.serializers.PickleSerializer'
 
253
 
 
254
# Allow iframes in ckeditor
 
255
TEXT_ADDITIONAL_TAGS = ('iframe',)
 
256
TEXT_ADDITIONAL_ATTRIBUTES = ('scrolling', 'allowfullscreen', 'frameborder')