mirror of
https://github.com/django/django.git
synced 2025-07-24 13:44:32 +00:00
Added missing period to "etc.".
This commit is contained in:
parent
99d2469e75
commit
b34ff66e5b
16 changed files with 17 additions and 17 deletions
|
@ -225,7 +225,7 @@ annotate
|
|||
Annotates each object in the ``QuerySet`` with the provided list of :doc:`query
|
||||
expressions </ref/models/expressions>`. An expression may be a simple value, a
|
||||
reference to a field on the model (or any related models), or an aggregate
|
||||
expression (averages, sums, etc) that has been computed over the objects that
|
||||
expression (averages, sums, etc.) that has been computed over the objects that
|
||||
are related to the objects in the ``QuerySet``.
|
||||
|
||||
Each argument to ``annotate()`` is an annotation that will be added
|
||||
|
@ -1954,7 +1954,7 @@ aggregate
|
|||
|
||||
.. method:: aggregate(*args, **kwargs)
|
||||
|
||||
Returns a dictionary of aggregate values (averages, sums, etc) calculated over
|
||||
Returns a dictionary of aggregate values (averages, sums, etc.) calculated over
|
||||
the ``QuerySet``. Each argument to ``aggregate()`` specifies a value that will
|
||||
be included in the dictionary that is returned.
|
||||
|
||||
|
|
|
@ -1505,7 +1505,7 @@ filesizeformat
|
|||
^^^^^^^^^^^^^^
|
||||
|
||||
Formats the value like a 'human-readable' file size (i.e. ``'13 KB'``,
|
||||
``'4.1 MB'``, ``'102 bytes'``, etc).
|
||||
``'4.1 MB'``, ``'102 bytes'``, etc.).
|
||||
|
||||
For example::
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ used template filters:
|
|||
|
||||
:tfilter:`filesizeformat`
|
||||
Formats the value like a "human-readable" file size (i.e. ``'13 KB'``,
|
||||
``'4.1 MB'``, ``'102 bytes'``, etc). For example::
|
||||
``'4.1 MB'``, ``'102 bytes'``, etc.). For example::
|
||||
|
||||
{{ value|filesizeformat }}
|
||||
|
||||
|
|
|
@ -251,7 +251,7 @@ Models
|
|||
======
|
||||
|
||||
Because all strings are returned from the database as Unicode strings, model
|
||||
fields that are character based (CharField, TextField, URLField, etc) will
|
||||
fields that are character based (CharField, TextField, URLField, etc.) will
|
||||
contain Unicode values when Django retrieves data from the database. This
|
||||
is *always* the case, even if the data could fit into an ASCII bytestring.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue