Ticket #3187: urlconf.diff
File urlconf.diff, 684 bytes (added by , 18 years ago) |
---|
-
django/core/handlers/base.py
60 60 if response: 61 61 return response 62 62 63 resolver = urlresolvers.RegexURLResolver(r'^/', settings.ROOT_URLCONF) 63 # Get urlconf from request object, if available. Otherwise use default. 64 urlconf = getattr(request, "urlconf", settings.ROOT_URLCONF) 65 66 resolver = urlresolvers.RegexURLResolver(r'^/', urlconf) 64 67 try: 65 68 callback, callback_args, callback_kwargs = resolver.resolve(request.path) 66 69