mirror of
https://github.com/django/django.git
synced 2025-08-03 02:23:12 +00:00
Capitalized "Python" in docs.
This commit is contained in:
parent
5c35b4a8c9
commit
2fbea621e6
6 changed files with 7 additions and 7 deletions
|
@ -305,7 +305,7 @@ model::
|
|||
This is generally the operation you would use to create
|
||||
:ref:`data migrations <data-migrations>`, run
|
||||
custom data updates and alterations, and anything else you need access to an
|
||||
ORM and/or python code for.
|
||||
ORM and/or Python code for.
|
||||
|
||||
If you're upgrading from South, this is basically the South pattern as an
|
||||
operation - one or two methods for forwards and backwards, with an ORM and
|
||||
|
|
|
@ -57,7 +57,7 @@ Usage examples::
|
|||
|
||||
.. warning::
|
||||
|
||||
A python value passed to ``Coalesce`` on MySQL may be converted to an
|
||||
A Python value passed to ``Coalesce`` on MySQL may be converted to an
|
||||
incorrect type unless explicitly cast to the correct database type:
|
||||
|
||||
>>> from django.db.models.expressions import RawSQL
|
||||
|
@ -121,7 +121,7 @@ Usage example::
|
|||
>>> comments = Comment.objects.annotate(last_updated=Greatest('modified', 'blog__modified'))
|
||||
>>> annotated_comment = comments.get()
|
||||
|
||||
``annotated_comment.last_updated`` will be the most recent of
|
||||
``annotated_comment.last_updated`` will be the most recent of
|
||||
``blog.modified`` and ``comment.modified``.
|
||||
|
||||
.. warning::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue