Skip to content

Commit ed0b7a4

Browse files
jcari-devstevejalim
authored andcommitted
fixed typos in configuration.rst and decorators.rst
1 parent 153696e commit ed0b7a4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/configuration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ All configuration of django-csp is done in your Django settings file with the
3030
``CONTENT_SECURITY_POLICY`` setting or the ``CONTENT_SECURITY_POLICY_REPORT_ONLY`` setting. Each of these
3131
settings expects a dictionary representing a policy.
3232

33-
The ``CONTENT_SECURITY_POLICY`` setting is your enforcable policy.
33+
The ``CONTENT_SECURITY_POLICY`` setting is your enforceable policy.
3434

3535
The ``CONTENT_SECURITY_POLICY_REPORT_ONLY`` setting is your report-only policy. This policy is
3636
used to test the policy without breaking the site. It is useful when setting this policy to be

docs/decorators.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ settings. If there is no setting, the value passed to the decorator will be used
5858
default-src 'self'; img-src imgsrv.com
5959

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

0 commit comments

Comments
 (0)