Re: Use django.contrib.auth.login at root of site

2009-03-08 Thread joshm
Thanks that is pretty much exactly what I was looking for. I first tried it and didn't realize you were calling the login view...got it now though. Thx! On Mar 7, 1:55 pm, Alex Gaynor wrote: > On Sat, Mar 7, 2009 at 1:59 PM, jmat wrote: > > > I'm trying to figure out a way to use the django.c

Re: Use django.contrib.auth.login at root of site

2009-03-07 Thread Alex Gaynor
On Sat, Mar 7, 2009 at 1:59 PM, jmat wrote: > > I'm trying to figure out a way to use the django.contrib.auth tools at > the root of the site for login but I'm running into one issue (I know > I can write my own viewbut not trying not to do that here). > > So I have this in my urls.py > > (r'

Use django.contrib.auth.login at root of site

2009-03-07 Thread jmat
I'm trying to figure out a way to use the django.contrib.auth tools at the root of the site for login but I'm running into one issue (I know I can write my own viewbut not trying not to do that here). So I have this in my urls.py (r'^$', login, {'template_name':'login_base.html'}), so when