Add: X_FRAME_OPTIONS = 'SAMEORIGIN'
This commit is contained in:
parent
08f7bab685
commit
63166d3ff5
1 changed files with 2 additions and 1 deletions
|
@ -120,4 +120,5 @@ STATIC_URL = 'static/'
|
||||||
# Default primary key field type
|
# Default primary key field type
|
||||||
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
|
# https://docs.djangoproject.com/en/4.0/ref/settings/#default-auto-field
|
||||||
|
|
||||||
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
|
# Allow embedding in iframes from the same origin
|
||||||
|
X_FRAME_OPTIONS = 'SAMEORIGIN'
|
||||||
|
|
Loading…
Reference in a new issue