from django_hosts import patterns, host


host_patterns = patterns(
    '',
    host(r'www', 'icekit.project.urls', name='www'),
    host(r'api', 'icekit.api.urls', name='api'),
)

from django_hosts import patterns, host
from django.conf import settings

host_patterns = patterns(
    '',
    host(r'www', settings.ROOT_URLCONF, name='www'),
    host(r'api', 'icekit.api.urls', name='api'),
)

Use project ROOT_URLCONF on default host, not hardcoded urls.
Use project ROOT_URLCONF on default host, not hardcoded urls.
