from django.conf import settings

from django_hosts import patterns, host

host_patterns = patterns("",
    host(r"www", settings.ROOT_URLCONF, name="default"),
    host(r"simple", "packages.simple.urls", name="simple"),
)

@@ -214,10 +214,62 @@
 mple%22),%0A
+    host(r%22pypi%22, %22pypi.simple.urls%22, name=%22pypi%22),%0A
 )%0A

add pypi to the hosts conf