'Return a modeladmin url for a model and action.'

def get_modeladmin_url(self, action, **kwargs):

    return reverse(('admin:%s_%s_%s' % (self.model._meta.app_label, self.model._meta.model_name, action)), kwargs=kwargs)
