remove todo that was done

This commit is contained in:
Laura Klünder 2017-12-24 19:37:30 +01:00
parent 5cb802e547
commit 1f0c09950e

View file

@ -527,7 +527,6 @@ class BaseQueryWrapper(BaseWrapper):
raise NotImplementedError('Unsupported lookup or %s has no field "%s".' % (rel_model, filter_type)) raise NotImplementedError('Unsupported lookup or %s has no field "%s".' % (rel_model, filter_type))
# multi-level-lookup # multi-level-lookup
# todo: cache here or avoid too much subqueries
subkwargs = {'__'.join([filter_type] + segments): filter_value} subkwargs = {'__'.join([filter_type] + segments): filter_value}
cache_key = '%s:multilevellookup:%s:%s:%s' % ( cache_key = '%s:multilevellookup:%s:%s:%s' % (
self._changeset.cache_key_by_changes, self._changeset.cache_key_by_changes,