Anyone any ideas? Is this a bug in 1.2.5?

On 3 July 2011 12:52, David Markey <[email protected]> wrote:

> Anyone any idea how to fix this, in my urls.py im explicitly doing:
>
> from django.conf.urls.defaults import handler404, handler500, include,
> patterns, url
>
>
> ======================================================================
> ERROR: test_14377 (django.contrib.auth.tests.views.LogoutTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/contrib/auth/tests/views.py",
> line 270, in test_14377
>     response = self.client.get('/logout/')
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/test/client.py",
> line 305, in get
>     response = self.request(**r)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/test/client.py",
> line 245, in request
>     response = self.handler(environ)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/test/client.py",
> line 79, in __call__
>     response = self.get_response(request)
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/core/handlers/base.py",
> line 141, in get_response
>     return self.handle_uncaught_exception(request, resolver,
> sys.exc_info())
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/core/handlers/base.py",
> line 179, in handle_uncaught_exception
>     callback, param_dict = resolver.resolve500()
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/core/urlresolvers.py",
> line 263, in resolve500
>     return self._resolve_special('500')
>   File
> "/usr/local/lib/python2.7/dist-packages/Django-1.2.5-py2.7.egg/django/core/urlresolvers.py",
> line 253, in _resolve_special
>     callback = getattr(self.urlconf_module, 'handler%s' % view_type)
> AttributeError: 'module' object has no attribute 'handler500'
>
> ----------------------------------------------------------------------
> Ran 21 tests in 0.481s
>
> Thanks...
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to