diff --git a/rest_framework/views.py b/rest_framework/views.py index 3ae82214a..b86bb7eaa 100644 --- a/rest_framework/views.py +++ b/rest_framework/views.py @@ -5,17 +5,17 @@ from __future__ import unicode_literals import sys +from django.conf import settings from django.core.exceptions import PermissionDenied from django.db import models from django.http import Http404 -from django.http.response import HttpResponseBase, HttpResponse +from django.http.response import HttpResponse, HttpResponseBase from django.utils import six from django.utils.encoding import smart_text from django.utils.translation import ugettext_lazy as _ +from django.views import debug from django.views.decorators.csrf import csrf_exempt from django.views.generic import View -from django.views import debug -from django.conf import settings from rest_framework import exceptions, status from rest_framework.compat import set_rollback