diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-01 14:13:38 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-02-02 07:29:41 -0500 |
| commit | 986f7f2098a2186b4085183951cbebae15220556 (patch) | |
| tree | 5d26ff86ab1f30a7f7ffa0c0ea5e506ef8103c72 /docs/ref | |
| parent | 674eda1c03a3187905f48afee0f15226aa62fdf3 (diff) | |
Added missing quotes around nonce in docs/ref/csp.txt.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/csp.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/csp.txt b/docs/ref/csp.txt index 5d0a9c0ecb..b5bf0c5f2e 100644 --- a/docs/ref/csp.txt +++ b/docs/ref/csp.txt @@ -261,7 +261,7 @@ expression into the CSP header. To use this nonce in templates, the :func:`~django.template.context_processors.csp` context processor needs to be enabled. It adds a ``csp_nonce`` variable to the template context, allowing -inline elements to include a matching ``nonce={{ csp_nonce }}`` attribute in +inline elements to include a matching ``nonce="{{ csp_nonce }}"`` attribute in inline scripts or styles. The browser will only execute inline elements that include a ``nonce=<value>`` |
