djangosnippets.org: Latest snippets tagged with 'urlsplit'https://djangosnippets.org/tags/urlsplit/2012-06-22T00:12:59-05:00add port from settings file to an url2012-06-22T00:12:59-05:00sebnapihttps://djangosnippets.org/snippets/2776/<p>I'm working on a Project where on certain places I need absolute URL's, in development mode I need the port 8000 added to any absolute url.</p>
<p>This piece of work, took me some time to figure out. Couldn't find something similiar on the net, it's based ...</p>
Freely redistributable