bernardopires / django-tenant-schemas

Tenant support for Django using PostgreSQL schemas.
https://django-tenant-schemas.readthedocs.org/en/latest/
MIT License
1.45k stars 424 forks source link

How to get full url of current tenant? #635

Open tylerecouture opened 4 years ago

tylerecouture commented 4 years ago

For example, if I'm using an email template, how can I get:

https://mytenant.mydomain.com/

to prefix to the relative urls I will get from my objects such as "get_absolute_url()"