Hi! thanks for replying, I think that will get the things done :)
On Jan 4, 4:41 pm, Daniel Roseman <[email protected]> wrote: > On Jan 4, 4:28 pm, bluellyr <[email protected]> wrote: > > > Hi! > > > I'm using the Django 1.0.2 and trying to connect to a diferent > >databasename using the subdomain by reference, > > when I accesshttp://xxxx.mydomain.comIwant to connect to the "xxxx" > >databaseand when accessing to thehttp://yyyy.mydomain.comIwant to connect to > >the "yyyy"database. > > > There is a way to do this? > > > I'm trying but I can not find nothing about how to get the subdomain > > from the url. > > > thanks > > Have different vhosts for each subdomain, each using a separate > settings.py file with its owndatabasename. > -- > DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. 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.

