djangosnippets.org: Latest snippets tagged with 'port'https://djangosnippets.org/tags/port/2012-06-22T00:12:59.174640-05:00add port from settings file to an url
2012-06-22T00:12:59.174640-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 on Code from the …</p>
Freely redistributable