Ticket #4044: url_defaults.2.patch
File url_defaults.2.patch, 576 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 isinstance(view, basestring): 25 view = prefix + '.' + view 26 return RegexURLPattern(regex, view, kwargs, name) 25 27