Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Improved error message in urlresolvers.RegexURLResolver.resolve to us…

…e repr instead of str on app_path

git-svn-id: http://code.djangoproject.com/svn/django/trunk@204 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b430d4c54f9a505ff451fa7dae4b74da76ebb1c7 1 parent 7fa7626
Adrian Holovaty authored July 19, 2005

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/core/urlresolvers.py
2  django/core/urlresolvers.py
@@ -82,7 +82,7 @@ def resolve(self, app_path):
82 82
             if match:
83 83
                 return match
84 84
         # None of the regexes matched, so raise a 404.
85  
-        raise Http404, "Tried all URL patterns but didn't find a match for %s" % app_path
  85
+        raise Http404, "Tried all URL patterns but didn't find a match for %r" % app_path
86 86
 
87 87
 class Error404Resolver:
88 88
     def __init__(self, callback):

0 notes on commit b430d4c

Please sign in to comment.
Something went wrong with that request. Please try again.