def get_fieldsets(self, request, obj=None):
        fieldsets = super(BaseDynamicInlineAdmin, self).get_fieldsets(
                                                            request, obj)
        if issubclass(self.model, Orderable):
            for fieldset in fieldsets:
                fields = [f for f in list(fieldset[1]["fields"])
                          if not hasattr(f, "translated_field")]
                try:
                    fields.remove("_order")
                except __HOLE__:
                    pass
                fieldset[1]["fields"] = fields
            fieldsets[-1][1]["fields"].append("_order")
        return fieldsets
dataset/ETHPy150Open stephenmcd/mezzanine/mezzanine/core/admin.py/BaseDynamicInlineAdmin.get_fieldsets