director needs to be case insensitive for now
This commit is contained in:
parent
b5a040764e
commit
c8b1b3072d
1 changed files with 1 additions and 0 deletions
|
@ -21,6 +21,7 @@ def find(info, guess=True):
|
||||||
else:
|
else:
|
||||||
fkey = key
|
fkey = key
|
||||||
if isinstance(info[key], list):
|
if isinstance(info[key], list):
|
||||||
|
fkey = '%s__iexact'%key
|
||||||
q = q.filter(**{fkey: '\n'.join(info[key]) + '\n'})
|
q = q.filter(**{fkey: '\n'.join(info[key]) + '\n'})
|
||||||
else:
|
else:
|
||||||
q = q.filter(**{fkey:info[key]})
|
q = q.filter(**{fkey:info[key]})
|
||||||
|
|
Loading…
Reference in a new issue