1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[1.1.X] Fixed #12302: Modified force_unicode to avoid raising unicode errors when

handed exceptions with non-ASCII bytestring data and no working unicode method
under Python 2.6 and higher.

r12621 and r12622 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Karen Tracey
2010-02-28 15:29:14 +00:00
parent e0679ef165
commit 1b2b3b0dba
6 changed files with 51 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
from django.conf.urls.defaults import *
urlpatterns = patterns('regressiontests.debug.views',
url(r'view_exception/(?P<n>\d+)/$', 'view_exception', name='view_exception'),
)