mozilla/django-csp

Context processors' variable name

Closed this issue · 0 comments

The docs indicate here that the variable the context processor injects is called nonce. I found that didn't work for me, so looked it up and found int this file that the actual variable is CSP_NONCE. Am I missing something obvious here or are the docs just wrong? In which case I'd be happy to open a PR to fix it.