开发者

how can i active my account,i send email to me use django-registration

Thank you fo开发者_运维知识库r 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????


Googling produces this: http://codespatter.com/2009/01/05/django-settings-site-domain-examplecom/

You can change it through the Django admin interface, phpMyAdmin, or however you feel comfortable. It’s in the django_site table. When setting SITE_ID in settings.py it is the ID in this table.

So it looks like you need to go into that table and change example.com to 127.0.0.1:8000.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜