On 12/3/20 9:26 AM, Meehan, John wrote:
Hi, when someone creates a new account (Sign Up), an email is sent to them to confirm their email address. It has the form below. Does anyone know how I can change the server name in the URL (From server.example.com to something else)? I have an SSL proxy server that I want to direct users through. Thanks. - John
This message comes from django_allauth. The domains come from the django_site database table.
If you have Postorius >= 1.3.3 The Domains view will show you the
SITE_ID for the domain and has an Edit
link the the Django admin UI
entry for that site. Otherwise, you can go to the Django admin Sites
view and see the DOMAIN NAME and DISPLAY NAME for each defined site, and
you can edit the domain name.
You may also need to adjust the SITE_ID setting in your Django settings to match the site you want. The trick here is the SITE_IDs aren't displayed in the Django admin UI or in Postorius < 1.3.3, and they may not be sequential or start at 1. If you query the database with `SELECT
- FROM django_site;` you'll see entries with columns id, domain and name which will tell you the SITE_ID.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan