Browse files

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


git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
adrianholovaty committed Jul 19, 2005
1 parent 1f4379b commit fc85642ed538464154d0e8e294ab99c3b14d0590
Showing with 1 addition and 1 deletion.
  1. +1 −1 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):

0 comments on commit fc85642

Please sign in to comment.