1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[2.1.x] Fixed typos in comments and docs.

Backport of 97e637a87f from master
This commit is contained in:
luz.paz
2018-08-01 12:55:53 -04:00
committed by Tim Graham
parent 7da1e45dc5
commit adfd261404
19 changed files with 21 additions and 22 deletions

View File

@@ -742,7 +742,7 @@ Next, start up the Django development server:
Finally, browse to ``http://localhost:8000/admin/``, and log in with the user
you just created. Browse to any of the ``WorldBorder`` entries -- the borders
may be edited by clicking on a polygon and dragging the vertexes to the desired
may be edited by clicking on a polygon and dragging the vertices to the desired
position.
.. _OpenLayers: https://openlayers.org/

View File

@@ -664,7 +664,7 @@ For example::
# Primary keys compared
MyModel(id=1) == MyModel(id=1)
MyModel(id=1) != MyModel(id=2)
# Primay keys are None
# Primary keys are None
MyModel(id=None) != MyModel(id=None)
# Same instance
instance = MyModel(id=None)