Added a limit to .get
This commit is contained in:
parent
1639576203
commit
bdf7187d5c
@ -748,6 +748,7 @@ class QuerySet(object):
|
||||
|
||||
.. versionadded:: 0.3
|
||||
"""
|
||||
self.limit(2)
|
||||
self.__call__(*q_objs, **query)
|
||||
try:
|
||||
result1 = self.next()
|
||||
|
Loading…
x
Reference in New Issue
Block a user