def get_plugin_class_instance(self, admin=None):
    plugin_class = self.get_plugin_class()
    return plugin_class(plugin_class.model, admin)
def get_plugin_class_instance(self, admin=None):
    plugin_class = self.get_plugin_class()
    return plugin_class(plugin_class.model, admin)