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'),
>
>
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
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'
3 matches
Mail list logo