exec_js functions now acknowledge Q objects
This commit is contained in:
parent
21b7d8f8ea
commit
470e08f616
5 changed files with 66 additions and 14 deletions
|
|
@ -240,7 +240,7 @@ class DocumentTest(unittest.TestCase):
|
|||
|
||||
info = BlogPost.objects._collection.index_information()
|
||||
# _id, types, '-date', 'tags', ('cat', 'date')
|
||||
self.assertEqual(len(info), 5)
|
||||
self.assertEqual(len(info), 5)
|
||||
|
||||
# Indexes are lazy so use list() to perform query
|
||||
list(BlogPost.objects)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue