I don't know much about error handling in django. I tried raising a 404
in one of my views and disable the debug mode in the settings, to see
how the default 404 page looks like, but instead I got the following
traceback:


Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/django/core/servers/basehttp.py",
line 272, in run
    self.result = application(self.environ, self.start_response)

  File
"/usr/lib/python2.4/site-packages/django/core/servers/basehttp.py",
line 611, in __call__
    return self.application(environ, start_response)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/wsgi.py",
line 148, in __call__
    response = self.get_response(request.path, request)

  File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py",
line 95, in get_response
    return callback(request, **param_dict)

  File "/usr/lib/python2.4/site-packages/django/views/defaults.py",
line 79, in page_not_found
    return http.HttpResponseNotFound(t.render(RequestContext(request,
{'request_path': request.path})))

  File "/usr/lib/python2.4/site-packages/django/template/context.py",
line 97, in __init__
    self.update(processor(request))

  File
"/usr/lib/python2.4/site-packages/django/core/context_processors.py",
line 17, in auth
    return {

AttributeError: 'WSGIRequest' object has no attribute 'user'


It seems it's looking for an attribute 'user' in the current request,
should there be one? why?


Thanks in advance!
Filipe


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to