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