Ticket #4044: url_defaults.patch
File url_defaults.patch, 565 bytes (added by , 18 years ago) |
---|
-
django/conf/urls/defaults.py
21 21 # For include(...) processing. 22 22 return RegexURLResolver(regex, view[0], kwargs) 23 23 else: 24 return RegexURLPattern(regex, prefix and (prefix + '.' + view) or view, kwargs, name) 24 if prefix and type(view) == str: 25 view = prefix + '.' + view 26 return RegexURLPattern(regex, view, kwargs, name) 25 27