Commit 44bb3d66 authored by PJ Janse van Rensburg's avatar PJ Janse van Rensburg

Fix typo

parent 46c129cb
......@@ -339,7 +339,7 @@ class ModelView(BaseModelView):
if isinstance(sort_field, string_types):
field = getattr(self.model, sort_field)
elif isinstance(sort_field, Field):
model_class = None:
model_class = None
try:
model_class = sort_field.model_class
except AttributeError:
......
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