summaryrefslogtreecommitdiff
path: root/docs/ref/validators.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/ref/validators.txt')
-rw-r--r--docs/ref/validators.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/ref/validators.txt b/docs/ref/validators.txt
index 3493363420..59eef7b35e 100644
--- a/docs/ref/validators.txt
+++ b/docs/ref/validators.txt
@@ -26,8 +26,8 @@ For example, here's a validator that only allows even numbers::
params={"value": value},
)
-You can add this to a model field via the field's :attr:`~django.db.models.Field.validators`
-argument::
+You can add this to a model field via the field's
+:attr:`~django.db.models.Field.validators` argument::
from django.db import models
@@ -354,7 +354,7 @@ to, or in lieu of custom ``field.clean()`` methods.
Uses Pillow to ensure that ``value.name`` (``value`` is a
:class:`~django.core.files.File`) has `a valid image extension
- <https://pillow.readthedocs.io/en/latest/handbook/image-file-formats.html>`_.
+ <https://pillow.readthedocs.io/en/latest/handbook/image-file-formats.html>`__.
``ProhibitNullCharactersValidator``
-----------------------------------