def get_fields(self, request, obj=None):
        fields = super(BaseDynamicInlineAdmin, self).get_fields(request, obj)
        if issubclass(self.model, Orderable):
            fields = list(fields)
            try:
                fields.remove("_order")
            except __HOLE__:
                pass
            fields.append("_order")
        return fields
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/core/admin.py/BaseDynamicInlineAdmin.get_fields