I have a Django install with DjangoCMS and ~20 sites (with Djangos sites framework).
I would like to create a link from one site (https://a.example.com/
) to another site (https://b.example.com/
).
For example I have an CMSApp called persons
and a single URL for example https://a.example.com/en/person/aaa/
and https://b.example.com/de/team/aaa/
.
If I try to reverse it like this on a.example.com
:
reverse("persons:canonic-person", kwargs={"person_slug": self.slug})
I get: /en/person/aaa/
But I want to be able to switch to b.example.com
and get /de/team/aaa/
or even better: https://b.example.com/de/team/aaa/
.
How do I achieve that?