Ticket #10834: 10834r11126.diff

File 10834r11126.diff, 588 bytes (added by ccahoon, 15 years ago)

Updated to pass regression tests.

  • django/core/urlresolvers.py

     
    195195                        return sub_match[0], sub_match[1], sub_match_dict
    196196                    tried.append(pattern.regex.pattern)
    197197            raise Resolver404, {'tried': tried, 'path': new_path}
    198         raise Resolver404, {'tried': [], 'path' : path}
     198        raise Resolver404, {'tried': [path], 'path' : path}
    199199
    200200    def _get_urlconf_module(self):
    201201        try:
Back to Top