logo       

Re: quick question: how to have *.domainname.com url in django: msg#02302

DjangoUsers

Subject: Re: quick question: how to have *.domainname.com url in django


On Fri, Jul 31, 2009 at 12:26 AM, weiwei<online.service.com@xxxxxxxxx> wrote:
> thanks, i was thinking to have each user have a url as
> http://username.domain.com/


after you manage to configure your frontend server (apache, lightttpd,
nginx, whatever) to send all those names to the same Django instance,
i'd just write a middleware that picks the name from the original URL
and stores it (or maybe the whole User object) in the request.

--
Javier

--~--~---------~--~----~------------~-------~--~----~
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@xxxxxxxxxxxxxxxx
To unsubscribe from this group, send email to
django-users+unsubscribe@xxxxxxxxxxxxxxxx
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Google Custom Search

News | Mail Home | sitemap | FAQ | advertise