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:
@@ -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/
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user