Añadir configuración para Django 3.x

The default value of the X_FRAME_OPTIONS setting was changed on Django 3.0 from SAMEORIGIN to DENY.
SummernoteWidget requires 'SAMEORIGIN'.

See

* [Clickjacking Protection](https://docs.djangoproject.com/en/3.0/ref/clickjacking/)
* <https://github.com/summernote/django-summernote/commit/3d44a3ab1758a1a412e9f582bf71be9ec31ee547#diff-04c6e90faac2675aa89e2176d2eec7d8>
parent 489551aa
Pipeline #494 failed with stage
in 0 seconds
......@@ -306,3 +306,5 @@ SUMMERNOTE_CONFIG = {
# '//somewhere_in_internet/summernote-plugin-name.js',
# },
}
X_FRAME_OPTIONS = "SAMEORIGIN" # Required by SummernoteWidget on Django 3.x
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment