Allow embedding of fargo in iframes

This commit is contained in:
Benjamin Dauvergne 2015-03-09 15:44:55 +01:00
parent afb20c23a5
commit 1e70b0caaf
1 changed files with 3 additions and 0 deletions

View File

@ -100,5 +100,8 @@ LOCALE_PATHS = [os.path.join(BASE_DIR, 'fargo', 'locale')]
STATIC_URL = '/static/'
# Fargo is made to be embedded in iframes
X_FRAME_OPTIONS = 'ALLOW'
if 'LOCAL_SETTINGS' in os.environ:
execfile(os.environ['LOCAL_SETTINGS'])