Different urlpatterns for different subdomains

38 views
Skip to first unread message

Vinicius Massuchetto

unread,
Jun 30, 2011, 10:38:19 PM6/30/11
to Django Users
Is there any way of conditionally choosing an urlpatterns set in
urls.py depending on the subdomain requested?

I would like to configure different Django behaviors maintaining the
same url structure according only to the subdomain.
Please let me know if this is not a good approach to achieve this.

Thanks.
--
Vinicius Massuchetto
http://vinicius.soylocoporti.org.br

Juergen Schackmann

unread,
Jul 1, 2011, 7:18:14 AM7/1/11
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages