Skip to content

Commit 75a8327

Browse files
zhuangzhuangdavidism
authored andcommitted
Update mongoengine.rst
1 parent 165af0a commit 75a8327

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/patterns/mongoengine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ Queries
8080
Use the class ``objects`` attribute to make queries. A keyword argument
8181
looks for an equal value on the field. ::
8282

83-
bttf = Movies.objects(title="Back To The Future").get_or_404()
83+
bttf = Movie.objects(title="Back To The Future").get_or_404()
8484

8585
Query operators may be used by concatenating them with the field name
8686
using a double-underscore. ``objects``, and queries returned by

0 commit comments

Comments
 (0)