Added a limit to .get
This commit is contained in:
parent
1639576203
commit
bdf7187d5c
1 changed files with 1 additions and 0 deletions
|
|
@ -748,6 +748,7 @@ class QuerySet(object):
|
|||
|
||||
.. versionadded:: 0.3
|
||||
"""
|
||||
self.limit(2)
|
||||
self.__call__(*q_objs, **query)
|
||||
try:
|
||||
result1 = self.next()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue