Re: subdomain specific settings file

2006-01-10 Thread Daniel Poelzleithner
Amit Upadhyay wrote: > This makes clear on what to do incase there are different subdomains, we > can just add other subdomains specific setting files blog_settings.py > and so on, which point to different ROOT_URLCONF and so on [we can > overwrite other things too if required]. Look at http://c

Re: subdomain specific settings file - new idea

2006-01-08 Thread Daniel Poelzleithner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ivan Fedorov wrote: >>URL_RESOLVER = "django.core.urlresolvers.RegexURLResolver" > > +1 > >>You could do very nice things with this approach, like using a database >>to resolve the url, or even change the other settings depending on the >>hostname y

Re: subdomain specific settings file - new idea

2006-01-07 Thread Ivan Fedorov
Daniel Poelzleithner пишет: > Amit Upadhyay wrote: > >>Hi, >> >>Wish you all a very happy and fruitful new year! >> >>Djando URL resolution causes some problem with applications hosted in >>different subdomains. Consider www.example.com >>and blog.example.com

Re: subdomain specific settings file - new idea

2006-01-05 Thread Daniel Poelzleithner
Amit Upadhyay wrote: > Hi, > > Wish you all a very happy and fruitful new year! > > Djando URL resolution causes some problem with applications hosted in > different subdomains. Consider www.example.com > and blog.example.com . Both of them are r

Re: subdomain specific settings file

2006-01-05 Thread Amit Upadhyay
On 1/5/06, Brant Harris <[EMAIL PROTECTED]> wrote: Hrm, I think you are trying to simplify a less common task whilecomplicating the more common one.  It seems more useful to set updocumentation for this case in "Solving specific problems".  The more simple the default project/app layout is, the bet

Re: subdomain specific settings file

2006-01-04 Thread Brant Harris
Hrm, I think you are trying to simplify a less common task while complicating the more common one. It seems more useful to set up documentation for this case in "Solving specific problems". The more simple the default project/app layout is, the better it is for people just picking up Django, and

Re: subdomain specific settings file

2006-01-03 Thread Amit Upadhyay
On 1/3/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > What do you think?I'm not sure I get it -- you want to automatically load a settingsfile based on the subdomain?  That seems a little too magic for me,especially when you can already do this just by changing DJANGO_SETTINGS_MODULE for each d

Re: subdomain specific settings file

2006-01-03 Thread Jacob Kaplan-Moss
On Jan 2, 2006, at 2:13 PM, Amit Upadhyay wrote: Djando URL resolution causes some problem with applications hosted in different subdomains. Consider www.example.com and blog.example.com. Both of them are running off the same database and share common admin, and so on, but are hosted in dif

subdomain specific settings file

2006-01-02 Thread Amit Upadhyay
Hi,Wish you all a very happy and fruitful new year!Djando URL resolution causes some problem with applications hosted in different subdomains. Consider www.example.com and blog.example.com. Both of them are running off the same database and share common admin, and so on, but are hosted in differen