Ticket #8198: urlresolvers.diff
File urlresolvers.diff, 524 bytes (added by , 16 years ago) |
---|
-
django/core/urlresolvers.py
64 64 if urlconf is None: 65 65 from django.conf import settings 66 66 urlconf = settings.ROOT_URLCONF 67 return RegexURLResolver(r'^ /', urlconf)67 return RegexURLResolver(r'^' + get_script_prefix(), urlconf) 68 68 get_resolver = memoize(get_resolver, _resolver_cache, 1) 69 69 70 70 def get_mod_func(callback):