Hi!

thanks for replying, I think that will get the things done :)


On Jan 4, 4:41 pm, Daniel Roseman <dan...@roseman.org.uk> wrote:
> On Jan 4, 4:28 pm, bluellyr <bluel...@gmail.com> 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 django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to