Changing the database name by subdomain name

2010-01-04 Thread bluellyr
Hi! I'm using the Django 1.0.2 and trying to connect to a diferent database name using the subdomain by reference, when I access http://.mydomain.com I want to connect to the "" database and when accessing to the http://.mydomain.com I want to connect to the "" database. There is

Re: Changing the database name by subdomain name

2010-01-05 Thread bluellyr
Hi! thanks for replying, I think that will get the things done :) On Jan 4, 4:41 pm, Daniel Roseman wrote: > On Jan 4, 4:28 pm, bluellyr wrote: > > > Hi! > > > I'm using the Django 1.0.2 and trying to connect to a diferent > >databasename using the su

Re: Changing the database name by subdomain name

2010-01-25 Thread bluellyr
Hi! I'm using the lighttpd and fastcgi to run the django application, my question is where can I pass the settings value for the other settings file? can yiou give me a example? thanks On Jan 5, 1:24 pm, bluellyr wrote: > Hi! > > thanks for replying, I think that will get t

Re: Changing the database name by subdomain name

2010-01-25 Thread bluellyr
Hi, How can I define the settings file in each of the vhosts? I'm using lighttpd and I can't find any info on this, can you help me? thanhs On Jan 5, 1:24 pm, bluellyr wrote: > Hi! > > thanks for replying, I think that will get the things done :) > > On Jan 4, 4:41