我如何激活我的帐户,我使用 django-registration 向我发送电子邮件
Thank you for registering an account at example.com.
To activate your registration, please visit the following page:
http://example.com/activate/d5544f645c80f8a6c9af934c03a2ee2d7902dc1f/
This page will expire in 7 days.
示例.com????
我点击了该网址,但未激活我的帐户。
为什么????
Thank you for registering an account at example.com.
To activate your registration, please visit the following page:
http://example.com/activate/d5544f645c80f8a6c9af934c03a2ee2d7902dc1f/
This page will expire in 7 days.
example.com?????
i click the url,but not active my account.
why????
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
谷歌搜索产生以下结果: http://codespatter.com/2009 /01/05/django-settings-site-domain-examplecom/
因此,您似乎需要进入该表并将
example.com
更改为127.0.0.1:8000
。Googling produces this: http://codespatter.com/2009/01/05/django-settings-site-domain-examplecom/
So it looks like you need to go into that table and change
example.com
to127.0.0.1:8000
.您是在本地还是远程环境中运行它?当然你不能激活它,因为激活URL指向example.com,这是作为示例的。您需要将其指向您自己的域。
Are you running this in your local or remote environment? Of course you can't activate it because the activation URL points to example.com, which is used as an example. You need to point it to your own domain.