Hi, Levi. I've just had a look through the code, and it appears you're in luck (at least in the trunk -- I haven't looked elsewhere). core/ handlers/base.py contains this line[1]:
# Get urlconf from request object, if available. Otherwise use default urlconf = getattr(request, "urlconf", settings.ROOT_URLCONF) It would appear that if the request contains an attribute called 'urlconf', that will be used instead of the default urls.py. So all you need is a request middleware[2] that examines request.META["HTTP_HOST"] and sets the appropriate urlconf. Bah. On closer inspection of the docs, it appears this is already documented[3]. Still, it was a satisfying search ;-) Hope this helps, Dan [1] http://code.djangoproject.com/browser/django/trunk/django/core/handlers/base.py#L68 [2] http://www.djangoproject.com/documentation/middleware/#process-request [3] http://www.djangoproject.com/documentation/url_dispatch/#how-django-processes-a-request --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---