Aw: Different urlpatterns for different subdomains

2011-07-01 Thread Juergen Schackmann
maybe that helps: https://github.com/jezdez/django-hosts -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/dUDV20f2CsUJ. To post to this group, send email to

Different urlpatterns for different subdomains

2011-06-30 Thread Vinicius Massuchetto
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.