Ticket #8393: 8393-r8442.diff

File 8393-r8442.diff, 845 bytes (added by Joost Cassee, 16 years ago)
  • django/test/client.py

     
    1111from django.core.handlers.base import BaseHandler
    1212from django.core.handlers.wsgi import WSGIRequest
    1313from django.core.signals import got_request_exception
     14from django.core.urlresolvers import set_script_prefix
    1415from django.http import SimpleCookie, HttpRequest
    1516from django.template import TemplateDoesNotExist
    1617from django.test import signals
     
    5354        from django.conf import settings
    5455        from django.core import signals
    5556
     57        set_script_prefix(u'/')
     58
    5659        # Set up middleware if needed. We couldn't do this earlier, because
    5760        # settings weren't available.
    5861        if self._request_middleware is None:
Back to Top