Fixed error with _lookup_field
It was failing when given multiple fields
This commit is contained in:
parent
d7c9694be0
commit
76cbb66843
@ -522,6 +522,7 @@ class QuerySet(object):
|
||||
raise InvalidQueryError('Cannot resolve field "%s"'
|
||||
% field_name)
|
||||
fields.append(field)
|
||||
field = None
|
||||
return fields
|
||||
|
||||
@classmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user