密码重置链接重定向到“说明域”页面

时间:2019-03-06 11:06:36

标签: python django django-forms django-templates

Reset password is redirecting me to this page

但是我也正在使用.org域。那么,如果该域存在问题,那我该怎么办?

TIME_ZONE = 'Asia/Kolkata'
# https://docs.djangoproject.com/en/dev/ref/settings/#language-code
LANGUAGE_CODE = 'en-us'
# https://docs.djangoproject.com/en/dev/ref/settings/#site-id
SITE_ID = 1
# https://docs.djangoproject.com/en/dev/ref/settings/#use-i18n
USE_I18N = True
# https://docs.djangoproject.com/en/dev/ref/settings/#use-l10n
USE_L10N = True
# https://docs.djangoproject.com/en/dev/ref/settings/#use-tz
USE_TZ = True

1 个答案:

答案 0 :(得分:1)

如果您的django.contrib.sites中有INSTALLED_APPS,则将使用default sites object生成密码重置链接。您应该可以在管理员的“站点”部分中对其进行编辑。