We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45cb61a commit eb2f052Copy full SHA for eb2f052
docs/decorators.rst
@@ -100,7 +100,7 @@ The arguments and values are the same as ``@csp_update``:
100
101
102
# Will allow images only from cdn-img2.com in the report-only policy.
103
- @csp_replace({"img-src": "imgsrv2.com"})
+ @csp_replace({"img-src": "imgsrv2.com"}, REPORT_ONLY=True)
104
def myview(request):
105
return render(...)
106
0 commit comments