mirror of
https://github.com/django/django.git
synced 2025-01-18 14:24:39 +00:00
Fixed typos in docs/releases/5.2.txt.
This commit is contained in:
parent
a7af1e2756
commit
c41d6c9bb8
@ -83,7 +83,7 @@ specifying the following attributes to customize form rendering:
|
|||||||
|
|
||||||
For example, to customize the ``BoundField`` of a ``Form`` class::
|
For example, to customize the ``BoundField`` of a ``Form`` class::
|
||||||
|
|
||||||
from django.forms import Form
|
from django import forms
|
||||||
|
|
||||||
|
|
||||||
class CustomBoundField(forms.BoundField):
|
class CustomBoundField(forms.BoundField):
|
||||||
@ -273,7 +273,7 @@ Forms
|
|||||||
``BoundField`` to ease use of this HTML attribute in templates.
|
``BoundField`` to ease use of this HTML attribute in templates.
|
||||||
|
|
||||||
* To improve accessibility for screen reader users ``aria-describedby`` is used
|
* 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 <form-error-display>` for details.
|
:ref:`how form errors are displayed <form-error-display>` for details.
|
||||||
|
|
||||||
* The new asset object :class:`~django.forms.Script` is available for adding
|
* 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
|
* The ``SELECT`` clause generated when using :meth:`.QuerySet.values` and
|
||||||
:meth:`.QuerySet.values_list` now matches the specified order of the
|
: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
|
counterintuitive rules which made query combination through methods such as
|
||||||
:meth:`.QuerySet.union` unpredictable.
|
:meth:`.QuerySet.union` unpredictable.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user