add another NotImplementedError
This commit is contained in:
parent
dfdc348423
commit
33af5c5444
1 changed files with 2 additions and 0 deletions
|
@ -370,6 +370,8 @@ class BaseQueryWrapper(BaseWrapper):
|
|||
if filter_type == 'lt':
|
||||
return self._filter_values(q, field_name, lambda val: val < filter_value)
|
||||
|
||||
raise NotImplementedError
|
||||
|
||||
raise NotImplementedError('cannot filter %s by %s (%s)' % (self._obj.model, filter_name, class_value))
|
||||
|
||||
def _filter_q(self, q):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue