Merge pull request #553 from davidwilemski/patch-2
Fix typo in upgrade docs
This commit is contained in:
commit
ed22af4e73
@ -270,7 +270,7 @@ queryset you should upgrade to use count::
|
|||||||
len(Animal.objects(type="mammal"))
|
len(Animal.objects(type="mammal"))
|
||||||
|
|
||||||
# New code
|
# New code
|
||||||
Animal.objects(type="mammal").count())
|
Animal.objects(type="mammal").count()
|
||||||
|
|
||||||
|
|
||||||
.only() now inline with .exclude()
|
.only() now inline with .exclude()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user