mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Fixed typos in comments and docs.
This commit is contained in:
parent
4263cd0e09
commit
97e637a87f
20 changed files with 22 additions and 23 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue