On Jul 24, 8:08 pm, Eratothene <[EMAIL PROTECTED]> wrote:
> I ran into the problem of Host-based url dispatch.
>
> I need to make something like this:
> urls.py:
>
> if request.META["HTTP_HOST"] = 'blogs.example.com'
> urlpatterns +=
I ran into the problem of Host-based url dispatch.
I need to make something like this:
urls.py:
if request.META["HTTP_HOST"] = 'blogs.example.com'
urlpatterns += (Some patterns)
if request.META["HTTP_HOST"] = 'wikis.example.com'
urlpatterns += (Ab
2 matches
Mail list logo