小编LeL*_*Lou的帖子

页面未找到帐户/注册 django allauth

我正在尝试在我的项目中加入 django-allauth。到目前为止,安装很好,但是当我尝试访问“帐户/注册”或“帐户/登录”页面时,我会自动重定向到找不到页面的帐户/个人资料

这是错误:

 Page not found (404)
> Request Method:   GET
Request URL:    http://127.0.0.1:8000/accounts/profile/
Using the URLconf defined in dari.urls, Django tried these URL patterns, in this order:
^accounts/ ^ ^signup/$ [name='account_signup']
^accounts/ ^ ^login/$ [name='account_login']
^accounts/ ^ ^logout/$ [name='account_logout']
^accounts/ ^ ^password/change/$ [name='account_change_password']
^accounts/ ^ ^password/set/$ [name='account_set_password']
^accounts/ ^ ^inactive/$ [name='account_inactive']
^accounts/ ^ ^email/$ [name='account_email']
^accounts/ ^ ^confirm-email/$ [name='account_email_verification_sent']
^accounts/ ^ ^confirm-email/(?P<key>\w+)/$ [name='account_confirm_email']
^accounts/ ^ ^password/reset/$ [name='account_reset_password']
^accounts/ ^ ^password/reset/done/$ [name='account_reset_password_done']
^accounts/ ^ ^password/reset/key/(?P<uidb36>[0-9A-Za-z]+)-(?P<key>.+)/$ [name='account_reset_password_from_key']
^accounts/ ^ ^password/reset/key/done/$ [name='account_reset_password_from_key_done'] …
Run Code Online (Sandbox Code Playgroud)

python django django-allauth

1
推荐指数
1
解决办法
2399
查看次数

标签 统计

django ×1

django-allauth ×1

python ×1