> what I want is to let mysite/urls.py include the other urlconfs
> according to the domain.
> e.g. let poll.mydomain.com include the mysite/polls/urls.py
> blog.mydomain.com => mysite/polls/blog.py
> mydomain.com => mysite/hp/urls.py
>


> is there a way to do this?

You could trick the user with apache rewrite

or have a look at this 
http://www.rossp.org/blog/2007/apr/28/using-subdomains-django/


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to