mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
[2.1.x] Fixed typos in comments and docs.
Backport of 97e637a87f from master
This commit is contained in:
@@ -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