Closed stefanfoulis closed 10 years ago
re-write all links on import, to not include the domain for the current domain (from django.contrib.sites.Site).
django.contrib.sites.Site
e.g
http://www.domain-in-sites.Site.com/this/is/a/link/to/something -> /this/is/a/link/to/something
http://www.domain-in-sites.Site.com/this/is/a/link/to/something
/this/is/a/link/to/something
but
http://www.some-other-domain.com/this/is/a/link/to/something -> http://www.some-other-domain.com/this/is/a/link/to/something
http://www.some-other-domain.com/this/is/a/link/to/something
re-write all links on import, to not include the domain for the current domain (from
django.contrib.sites.Site
).e.g
http://www.domain-in-sites.Site.com/this/is/a/link/to/something
->/this/is/a/link/to/something
but
http://www.some-other-domain.com/this/is/a/link/to/something
->http://www.some-other-domain.com/this/is/a/link/to/something