[4.1.x] Fixed "nulls characters" typo in docs.

Backport of 4b7016866a80ec8582f55fc7eedfa692039e9648 from main
This commit is contained in:
Steven 2023-01-14 13:38:37 -05:00 committed by Mariusz Felisiak
parent 7ebcda3331
commit d805010d68
2 changed files with 2 additions and 2 deletions

View File

@ -318,7 +318,7 @@ to, or in lieu of custom ``field.clean()`` methods.
.. class:: ProhibitNullCharactersValidator(message=None, code=None)
Raises a :exc:`~django.core.exceptions.ValidationError` if ``str(value)``
contains one or more nulls characters (``'\x00'``).
contains one or more null characters (``'\x00'``).
:param message: If not ``None``, overrides :attr:`.message`.
:param code: If not ``None``, overrides :attr:`code`.

View File

@ -70,7 +70,7 @@ Bugfixes
hand side of an expression is the same type (:ticket:`30621`).
* Fixed a regression in Django 2.2 where auto-reloader crashes if a file path
contains nulls characters (``'\x00'``) (:ticket:`30506`).
contains null characters (``'\x00'``) (:ticket:`30506`).
* Fixed a regression in Django 2.2 where auto-reloader crashes if a translation
directory cannot be resolved (:ticket:`30647`).