diff --git a/digitaleagentur/settings.py b/digitaleagentur/settings.py index 03e284e..be3a508 100644 --- a/digitaleagentur/settings.py +++ b/digitaleagentur/settings.py @@ -31,7 +31,8 @@ SESSION_COOKIE_AGE = 8*60*60 CHANNELS_PRESENCE_MAX_AGE = 30 # FOR SUMMERNOTE ORIGIN -X_FRAME_OPTIONS = 'SAMEORIGIN' +# X_FRAME_OPTIONS = 'SAMEORIGIN' +X_FRAME_OPTIONS = 'ALLOWALL' # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/2.2/howto/deployment/checklist/ diff --git a/firstrun.py b/firstrun.py index 2de5e3e..49b4e97 100644 --- a/firstrun.py +++ b/firstrun.py @@ -1,3 +1,6 @@ +from django.conf import settings +settings.configure() + from django.contrib.auth.models import User from users.models import Profile,Agency