Re: Doing something silly, I'm sure

2012-03-30 Thread Tom Evans
On Fri, Mar 30, 2012 at 1:11 PM, vanderkerkoff wrote: > Sorry everyone, but this is driving me crazy > > https://docs.djangoproject.com/en/1.2/topics/auth/ FYI to others, the stacktrace indicates OP is using 1.3 beta 1. > > urls.py > (r'^accounts/login/$', 'django.contrib.auth.views.login'), > >

Re: Doing something silly, I'm sure

2012-03-30 Thread Bill Freeman
Are you in debug mode so that the stack trace is displayed (on the development server)? Have you looked at the local variables in the trace to see what template it is trying to find? Are the permissions on the template such that django can read it? On the development server, pdb.set_trace() is y

Doing something silly, I'm sure

2012-03-30 Thread vanderkerkoff
Sorry everyone, but this is driving me crazy https://docs.djangoproject.com/en/1.2/topics/auth/ urls.py (r'^accounts/login/$', 'django.contrib.auth.views.login'), view.py if pg.registration_required and not request.user.is_authenticated(): return HttpResponseRedirect('/accounts/login/?next=%s'