Commit 91fae266 authored by Paul Brown's avatar Paul Brown

Merge pull request #1144 from ChCh27/patch-1

Update view.py
parents f413c397 b0ec5d04
......@@ -897,7 +897,7 @@ class ModelView(BaseModelView):
except TypeError:
spec = inspect.getargspec(flt.apply)
if len(spec.args) == 2:
if len(spec.args) == 3:
warnings.warn('Please update your custom filter %s to include additional `alias` parameter.' % repr(flt))
else:
raise
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment