Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a more helpful error message to django.core.urlresolvers.RegexU…


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fc85642ed538464154d0e8e294ab99c3b14d0590 1 parent 1f4379b
Adrian Holovaty adrianholovaty authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/core/
2  django/core/
@@ -82,7 +82,7 @@ def resolve(self, app_path):
if match:
return match
# None of the regexes matched, so raise a 404.
- raise Http404, app_path
+ raise Http404, "Tried all URL patterns but didn't find a match for %s" % app_path
class Error404Resolver:
def __init__(self, callback):
Please sign in to comment.
Something went wrong with that request. Please try again.