Fixed typo in tutorial

[closes #235] Thanks @mulka
This commit is contained in:
Ross Lawley 2011-07-18 08:35:29 +01:00
parent 6eb0387a78
commit bbd3a6961e

View File

@ -265,5 +265,5 @@ the first matched by the query you provide. Aggregation functions may also be
used on :class:`~mongoengine.queryset.QuerySet` objects:: used on :class:`~mongoengine.queryset.QuerySet` objects::
num_posts = Post.objects(tags='mongodb').count() num_posts = Post.objects(tags='mongodb').count()
print 'Found % posts with tag "mongodb"' % num_posts print 'Found %d posts with tag "mongodb"' % num_posts