-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Amirouche schrieb:
>> 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/
> 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
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hallo *,
I'd like to serve different applications for different domains.
imagine my setup like this:
mysite/
mysite/urls.py
mysite/polls/
mysite/polls/urls.py
mysite/blog/
mysite/blog/urls.py
mysite/hp/
mysite/hp/urls.py
what I want is to let mysite
3 matches
Mail list logo