Added a limit to .get

This commit is contained in:
Ross Lawley 2012-02-29 14:57:24 +00:00
parent 1639576203
commit bdf7187d5c

View File

@ -748,6 +748,7 @@ class QuerySet(object):
.. versionadded:: 0.3
"""
self.limit(2)
self.__call__(*q_objs, **query)
try:
result1 = self.next()