【发布时间】:2020-06-10 05:30:46
【问题描述】:
我正在使用 Django all auth 来实现密码重置功能,但我想自定义密码重置模板,下面是我的网址:
urls.py
from django.conf.urls import url,include
from django.urls import path
from rest_framework_jwt.views import obtain_jwt_token,refresh_jwt_token
from . import views
# Registration,Login,Forgot,Profile change
urlpatterns=[
url(r'^accounts/', include('allauth.urls')),
]
当我点击这个网址时->http://127.0.0.1:8000/ThiefApp/accounts/password/reset/
我得到了下面的模板
如何自定义上述模板或如何使用不同的模板。有什么建议吗?
【问题讨论】:
标签: python django django-templates django-allauth