mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #25165 -- Removed inline JavaScript from the admin.
This allows setting a Content-Security-Policy HTTP header (refs #15727). Special thanks to blighj, the original author of this patch.
This commit is contained in:
committed by
Tim Graham
parent
105028eec6
commit
d638cdc42a
@@ -39,6 +39,9 @@ Minor features
|
||||
* The success message that appears after adding or editing an object now
|
||||
contains a link to the object's change form.
|
||||
|
||||
* All inline JavaScript is removed so you can enable the
|
||||
``Content-Security-Policy`` HTTP header if you wish.
|
||||
|
||||
:mod:`django.contrib.admindocs`
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user