diff options
| author | Xavier Ordoquy | 2013-01-03 11:41:07 +0100 |
|---|---|---|
| committer | Xavier Ordoquy | 2013-01-03 11:41:07 +0100 |
| commit | 60250f22c8e144494f372338c16a2167cccb319d (patch) | |
| tree | a467ab51837175ab29abec7eb22bb936375763da /rest_framework/tests/request.py | |
| parent | cf51dcc9bb409fb985d5aa09c426d1ed33f6e9b4 (diff) | |
| download | django-rest-framework-60250f22c8e144494f372338c16a2167cccb319d.tar.bz2 | |
Move the various compat things to the compat module.
Diffstat (limited to 'rest_framework/tests/request.py')
| -rw-r--r-- | rest_framework/tests/request.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rest_framework/tests/request.py b/rest_framework/tests/request.py index fe5116a8..7d4575bb 100644 --- a/rest_framework/tests/request.py +++ b/rest_framework/tests/request.py @@ -1,8 +1,6 @@ """ Tests for content parsing, and form-overloaded content parsing. """ -import six - from django.contrib.auth.models import User from django.contrib.auth import authenticate, login, logout from django.contrib.sessions.middleware import SessionMiddleware @@ -22,6 +20,7 @@ from rest_framework.request import Request from rest_framework.response import Response from rest_framework.settings import api_settings from rest_framework.views import APIView +from rest_framework.compat import six factory = RequestFactory() |
