1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

[py3] Used compatible imports of StringIO.

This commit is contained in:
Aymeric Augustin
2012-08-07 15:41:54 +02:00
parent 2da3af23aa
commit 396357741b
15 changed files with 22 additions and 26 deletions

View File

@@ -3,7 +3,6 @@ from __future__ import unicode_literals
import time
import warnings
from datetime import datetime, timedelta
from StringIO import StringIO
from django.conf import settings
from django.core.handlers.wsgi import WSGIRequest, LimitedStream
@@ -11,6 +10,7 @@ from django.http import HttpRequest, HttpResponse, parse_cookie, build_request_r
from django.test.utils import str_prefix
from django.utils import unittest
from django.utils.http import cookie_date
from django.utils.six import StringIO
from django.utils.timezone import utc