First time here? Check out the FAQ!

Revision history  [back]

Validation_Link doesn't contain correct URL

I used forgot password feature in my site and the link which I got in email doesn't contain correct URL. I checked that it generates from views.py.

'validation_link': site_url(reverse(handler_url_name)) + \ '?validation_code=' + key.

Why is this validation_link not picking site_url correctly? Have I forgot to add site_url somewhere? I have set site name in mywebsite.com/admin to mywebsite.com. Where else do we need to put site url?

Note: It's picking the Site Name correctly like WebSite Name for example.

Greetings from the WebSite Name,

To make use of the Forum, please follow the link below:

:///account/recover/?validation_code=fbde56394ea4cc1fc753a17ff3559a91

Following the link above will help us verify your email address.

If you believe that this message was sent in mistake - no further action is needed. Just ignore this email, we apologize for any inconvenience

Sincerely,
WebSite Name Administrator

Validation_Link doesn't contain correct URL

I used forgot password feature in my site and the link which I got in email doesn't contain correct URL. I checked that it generates from views.py.

'validation_link': site_url(reverse(handler_url_name)) + \ '?validation_code=' + key.

Why is this validation_link not picking site_url correctly? Have I forgot to add site_url somewhere? I have set site name in mywebsite.com/admin to mywebsite.com. Where else do we need to put site url?

Note: It's picking the Site Name correctly like WebSite Name for example.

Greetings from the WebSite Name,

To make use of the Forum, please follow the link below:

:///account/recover/?validation_code=fbde56394ea4cc1fc753a17ff3559a91

Following the link above will help us verify your email address.

If you believe that this message was sent in mistake - no further action is needed. Just ignore this email, we apologize for any inconvenience

Sincerely,
WebSite Name Administrator