Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ All configuration of django-csp is done in your Django settings file with the
``CONTENT_SECURITY_POLICY`` setting or the ``CONTENT_SECURITY_POLICY_REPORT_ONLY`` setting. Each of these
settings expects a dictionary representing a policy.

The ``CONTENT_SECURITY_POLICY`` setting is your enforcable policy.
The ``CONTENT_SECURITY_POLICY`` setting is your enforceable policy.

The ``CONTENT_SECURITY_POLICY_REPORT_ONLY`` setting is your report-only policy. This policy is
used to test the policy without breaking the site. It is useful when setting this policy to be
Expand Down
2 changes: 1 addition & 1 deletion docs/decorators.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ settings. If there is no setting, the value passed to the decorator will be used
default-src 'self'; img-src imgsrv.com

The arguments to the decorator are the same as the :ref:`settings <configuration-chapter>`. The
decorator excpects a single dictionary argument, where the keys are the directives and the values
decorator expects a single dictionary argument, where the keys are the directives and the values
are either strings, lists or tuples. An optional argument, ``REPORT_ONLY``, can be set to ``True``
to update the report-only policy instead of the enforced policy.

Expand Down