今天在学习Django的时候一直出现http://127.0.0.1:8000/accounts/login/?next=/account/password-change/

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。
Page not found (404)
    Request Method:    GET
    Request URL:    http://127.0.0.1:8000/accounts/login/?next=/account/password-change/

进入源码看到以下内容,原因是需要先进行登录才能进行密码修改

@method_decorator(sensitive_post_parameters())
@method_decorator(csrf_protect)
@method_decorator(login_required)
扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄