From c41d6c9bb8262dff64fe4ab55e601bc0b269960b Mon Sep 17 00:00:00 2001 From: Clifford Gama Date: Thu, 16 Jan 2025 12:08:29 +0200 Subject: [PATCH] Fixed typos in docs/releases/5.2.txt. --- docs/releases/5.2.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/releases/5.2.txt b/docs/releases/5.2.txt index a8d7f8ff31..15dad66b54 100644 --- a/docs/releases/5.2.txt +++ b/docs/releases/5.2.txt @@ -83,7 +83,7 @@ specifying the following attributes to customize form rendering: For example, to customize the ``BoundField`` of a ``Form`` class:: - from django.forms import Form + from django import forms class CustomBoundField(forms.BoundField): @@ -273,7 +273,7 @@ Forms ``BoundField`` to ease use of this HTML attribute in templates. * To improve accessibility for screen reader users ``aria-describedby`` is used - to associated form fields with their error messages. See + to associate form fields with their error messages. See :ref:`how form errors are displayed ` for details. * The new asset object :class:`~django.forms.Script` is available for adding @@ -306,7 +306,7 @@ Models * The ``SELECT`` clause generated when using :meth:`.QuerySet.values` and :meth:`.QuerySet.values_list` now matches the specified order of the - referenced expressions. Previously, the order was based of a set of + referenced expressions. Previously, the order was based on a set of counterintuitive rules which made query combination through methods such as :meth:`.QuerySet.union` unpredictable.