def METHOD_NAME(self, form, request, target):
    form.save()
    clear_socialauth_cache()
    message = pgettext_lazy(
        "admin social auth providers", "Login with %(provider)s has been updated."
    )
    messages.success(request, message % {"provider": target})