Fix typo in upgrade docs
Removed extra closing parenthesis
This commit is contained in:
parent
708dbac70e
commit
7914cd47ca
@ -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