Fixed error with _lookup_field
It was failing when given multiple fields
This commit is contained in:
parent
d7c9694be0
commit
76cbb66843
1 changed files with 1 additions and 0 deletions
|
|
@ -522,6 +522,7 @@ class QuerySet(object):
|
|||
raise InvalidQueryError('Cannot resolve field "%s"'
|
||||
% field_name)
|
||||
fields.append(field)
|
||||
field = None
|
||||
return fields
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue