@register.filter
def field_orderable(view, field):
    return view.lookup_field_orderable(field)
Returns whether the passed in field is orderable
dataset/ETHPy150Open nyaruka/smartmin/smartmin/templatetags/smartmin.py/field_orderable