Re: Not using Django's built in auth, getting errors on 404s

2008-02-10 Thread Hugh Bien
Thanks Malcom, I didn't know that context_processors.auth was one of the defaults for TEMPLATE_CONTEXT_PROCESSOR. I went ahead and defined that to be the defaults from django.conf.global_settings minus the django.core.context_processors.auth. Everything seems to be working smoothly. On Feb 10

Re: Not using Django's built in auth, getting errors on 404s

2008-02-10 Thread Malcolm Tredinnick
On Sun, 2008-02-10 at 03:05 -0800, Hugh Bien wrote: > Hi, > > > I'm not using Django's built in auth application. When I go to a URL > that doesn't exist, I get this error: > > > AttributeError: 'WSGIRequest' object has no attribute 'user' I suspect that the version of Django you're runni

Not using Django's built in auth, getting errors on 404s

2008-02-10 Thread Hugh Bien
Hi, I'm not using Django's built in auth application. When I go to a URL that doesn't exist, I get this error: AttributeError: 'WSGIRequest' object has no attribute 'user' Here's part of the stack trace: File "/Library/Python/2.5/site-packages/django/views/defaults.py", line 79, in page_not