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
如果你的django.contrib.sites
中有INSTALLED_APPS
,密码重置链接将使用default sites object生成。您应该可以在管理员的“网站”部分进行编辑。