mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Capitalized "Python" in docs.
This commit is contained in:
@@ -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::
|
||||
|
||||
Reference in New Issue
Block a user