فهرست منبع

Fixed "nulls characters" typo in docs.

Steven 2 سال پیش
والد
کامیت
4b7016866a
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      docs/ref/validators.txt
  2. 1 1
      docs/releases/2.2.4.txt

+ 1 - 1
docs/ref/validators.txt

@@ -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`.

+ 1 - 1
docs/releases/2.2.4.txt

@@ -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`).