Commits

Anonymous committed 2adad9a

[1.2.X] Fixed #15343 -- Added import of handler500 and handler404 in URLconf for contrib.auth tests, so that other configuration errors that cause test failures aren't masked by 'missing handler500' errors.

  • Participants
  • Parent commits 0761a22
  • Branches releases/1.2.X

Comments (0)

Files changed (1)

File django/contrib/auth/tests/urls.py

-from django.conf.urls.defaults import patterns
+from django.conf.urls.defaults import patterns, handler500, handler404
 from django.contrib.auth.urls import urlpatterns
 from django.http import HttpResponse
 from django.template import Template, RequestContext