ennio/django-hosts — Issue #5: host_url tag does not preserve server port
Author: jlirochon
Created: 2012-03-09 16:25:24+00:00
State: open

Development server is running at http://127.0.0.1:8000/

Urls generated by host_url tag do not contain ":8000". Fixing the port in settings.PARENT_HOST can help, but not for tests.

I'm running tests with django.test.LiveServerTestCase (Django 1.4). Live server port can not be predicted, it would be nice to determine the actual port at runtime.