django-user-accounts icon indicating copy to clipboard operation
django-user-accounts copied to clipboard

How to set the activate_url point to my server host instead of "example.com"

Open Little-Wallace opened this issue 7 years ago • 3 comments

I have found the template file "email_confirmation_message.txt", but I do not know how to set the activate_url and account_tags. Thanks for viewing my problem.

Little-Wallace avatar Oct 13 '17 13:10 Little-Wallace

Hello. Thank you for your question. Have you tried using the following in your settings.py? THEME_CONTACT_EMAIL = '[email protected]'

KatherineMichel avatar Oct 13 '17 17:10 KatherineMichel

DUA gets this information from the Django Site model in django.contrib.sites. In a project started with Pinax this can be changed in the fixtures/sites.json file. Once changed you can update using python manage.py loaddata sites.

brosner avatar Oct 13 '17 18:10 brosner

Thanks a lot!

Ralphkay avatar Oct 27 '17 00:10 Ralphkay