mirror of
https://github.com/django/django.git
synced 2025-11-20 03:30:00 +00:00
Fixed #36532 -- Added Content Security Policy view decorators to override or disable policies.
Some checks are pending
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Some checks are pending
Docs / spelling (push) Waiting to run
Docs / blacken-docs (push) Waiting to run
Docs / lint-docs (push) Waiting to run
Linters / flake8 (push) Waiting to run
Linters / isort (push) Waiting to run
Linters / black (push) Waiting to run
Tests / Windows, SQLite, Python 3.13 (push) Waiting to run
Tests / JavaScript tests (push) Waiting to run
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
This commit is contained in:
parent
292b9e6fe8
commit
550822bcee
10 changed files with 354 additions and 14 deletions
|
|
@ -82,6 +82,8 @@ view functions:
|
|||
* :func:`~django.views.decorators.cache.cache_control`
|
||||
* :func:`~django.views.decorators.cache.never_cache`
|
||||
* :func:`~django.views.decorators.common.no_append_slash`
|
||||
* :func:`~django.views.decorators.csp.csp_override`
|
||||
* :func:`~django.views.decorators.csp.csp_report_only_override`
|
||||
* :func:`~django.views.decorators.csrf.csrf_exempt`
|
||||
* :func:`~django.views.decorators.csrf.csrf_protect`
|
||||
* :func:`~django.views.decorators.csrf.ensure_csrf_cookie`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue