mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +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
|
@ -362,7 +362,7 @@ but for now, remember the three-step guide to making model changes:
|
|||
The reason that there are separate commands to make and apply migrations is
|
||||
because you'll commit migrations to your version control system and ship them
|
||||
with your app; they not only make your development easier, they're also
|
||||
useable by other developers and in production.
|
||||
usable by other developers and in production.
|
||||
|
||||
Read the :doc:`django-admin documentation </ref/django-admin>` for full
|
||||
information on what the ``manage.py`` utility can do.
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -749,7 +749,6 @@ url
|
|||
urljoins
|
||||
urlpatterns
|
||||
urls
|
||||
useable
|
||||
username
|
||||
usernames
|
||||
utc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue