I'm using <https://docs.djangoproject.com/en/dev/ref/contrib/sitemaps/?from=olddocs> .

I have a sitemap generated from api.mydomain.me for the domain: mydomain.com.

Can I, with django, specify a base url ?

Now with location() method return:

api.mydomain.me/page/3123
instead of
mydomain.com/page/3123

Is this possible?
Thanks.