Re: Dynamic Subdomain Generation for Users

2008-03-31 Thread Sarah . Vardy
Hi Graham, Thanks so much for all that information, it is greatly appreciated. Kind regards, Sarah vardy - Original Message - From: Graham Dumpleton <[EMAIL PROTECTED]> Date: Tuesday, April 1, 2008 1:54 pm Subject: Re: Dynamic Subdomain Generation for Users To: Django users &

Re: Dynamic Subdomain Generation for Users

2008-03-31 Thread Graham Dumpleton
hanks, > > Sarah > > > > - Original Message - > From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > Date: Tuesday, April 1, 2008 12:31 pm > Subject: Re: Dynamic Subdomain Generation for Users > To: Django users <django-users@googlegroups.co

Re: Dynamic Subdomain Generation for Users

2008-03-31 Thread Sarah . Vardy
: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> Date: Tuesday, April 1, 2008 12:31 pm Subject: Re: Dynamic Subdomain Generation for Users To: Django users <django-users@googlegroups.com> > > Thanks, Dan! > > Just what I needed. > > On Mar 31, 5:58 pm, Dan Ellis

Re: Dynamic Subdomain Generation for Users

2008-03-31 Thread [EMAIL PROTECTED]
Thanks, Dan! Just what I needed. On Mar 31, 5:58 pm, Dan Ellis <[EMAIL PROTECTED]> wrote: > Hi, Levi. I've just had a look through the code, and it appears you're > in luck (at least in the trunk -- I haven't looked elsewhere). core/ > handlers/base.py contains this line[1]: > >     # Get

Re: Dynamic Subdomain Generation for Users

2008-03-31 Thread Dan Ellis
Hi, Levi. I've just had a look through the code, and it appears you're in luck (at least in the trunk -- I haven't looked elsewhere). core/ handlers/base.py contains this line[1]: # Get urlconf from request object, if available. Otherwise use default urlconf = getattr(request,

Re: Dynamic Subdomain Generation for Users

2008-03-31 Thread [EMAIL PROTECTED]
Hey Tkm, Basically this application follows the Basecamp model. A company signs up for a sub domain, and many users are able to access it. It would be all in one project, but the sub domain would access a different url.py so that different applications and views can be used. Let me know if that

Re: Dynamic Subdomain Generation for Users

2008-03-31 Thread Bruno Tikami
Hi vemon, when the user access user.domain.com the request will be treated by a different project or all users share the same project? Though it may look a stupid question, if they have separate projects, you don't have to worry about it, cause they'll have different urls.py files. If they share

Dynamic Subdomain Generation for Users

2008-03-31 Thread [EMAIL PROTECTED]
Hi guys. I'm developing a system that gives a user a sub domain for their account. I found this article, http://www.rossp.org/blog/2007/apr/28/using-subdomains-django/, which is really helping. But the problem I'm having trouble thinking through is how I could give sub domains certain urls