Ticket #8198: urlresolvers.diff

File urlresolvers.diff, 524 bytes (added by yogi, 16 years ago)
  • django/core/urlresolvers.py

     
    6464    if urlconf is None:
    6565        from django.conf import settings
    6666        urlconf = settings.ROOT_URLCONF
    67     return RegexURLResolver(r'^/', urlconf)
     67    return RegexURLResolver(r'^' + get_script_prefix(), urlconf)
    6868get_resolver = memoize(get_resolver, _resolver_cache, 1)
    6969
    7070def get_mod_func(callback):
Back to Top