If I were to guess though, it would be that supporting subdomains and virtual hosts is typically the responsibility of the web server. I think Django didn't want to enable folks to do in python what apache and nginx already do so well (and in a more optimized way).
-- my 2 cents,
Brian
--
Brian Bouterse
ITng Services
On Tue, Dec 28, 2010 at 6:43 AM, Martin <martinskou@gmail.com> wrote:
Hi.
I would like to use subdomains in my URL-dispatch. Thats not supported
by Django.
Is it possible to replace Django URLResolver with my own? Must this be
done as a Middleware class?
(Why is Django URL resolver not implemented as a Middleware class?)
Input appreciated.
Thanks.
/Martin
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
--
Brian Bouterse
ITng Services
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment