Add: X_FRAME_OPTIONS = 'SAMEORIGIN'

This commit is contained in:
Aroy-Art 2023-08-03 19:12:18 +02:00
parent 08f7bab685
commit 63166d3ff5
Signed by: Aroy
GPG key ID: 583642324A1D2070

View file

@ -120,4 +120,5 @@ STATIC_URL = 'static/'
# Default primary key field type
# 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'