Ticket #8393: 8393-r8442.diff
File 8393-r8442.diff, 845 bytes (added by , 16 years ago) |
---|
-
django/test/client.py
11 11 from django.core.handlers.base import BaseHandler 12 12 from django.core.handlers.wsgi import WSGIRequest 13 13 from django.core.signals import got_request_exception 14 from django.core.urlresolvers import set_script_prefix 14 15 from django.http import SimpleCookie, HttpRequest 15 16 from django.template import TemplateDoesNotExist 16 17 from django.test import signals … … 53 54 from django.conf import settings 54 55 from django.core import signals 55 56 57 set_script_prefix(u'/') 58 56 59 # Set up middleware if needed. We couldn't do this earlier, because 57 60 # settings weren't available. 58 61 if self._request_middleware is None: