forms.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:adjutant-ui 作者: openstack 项目源码 文件源码
def handle(self, request, data):
        try:
            submit_response = adjutant.forgotpassword_submit(
                request, data)
            if submit_response.ok:
                return True
        except Exception:
            pass

        # Send the user back to the login page.
        msg = _("The password reset service is currently unavailable. "
                "Please try again later.")
        response = http.HttpResponseRedirect(settings.LOGOUT_URL)
        utils.add_logout_reason(self.request, response, msg)
        return response
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号