aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2014-08-29 12:54:52 +0100
committerTom Christie2014-08-29 12:54:52 +0100
commit371d30aa8737c4b3aaf28ee10cc2b77a9c4d1fd9 (patch)
tree8d78e01471fc958e9b6a87ecb8e3aec355cc1d8f
parentb552b62540e5144272c9c13c28f120ffe5fcbe45 (diff)
downloaddjango-rest-framework-371d30aa8737c4b3aaf28ee10cc2b77a9c4d1fd9.tar.bz2
Remove unused imports.
-rw-r--r--rest_framework/decorators.py1
-rw-r--r--rest_framework/generics.py1
2 files changed, 0 insertions, 2 deletions
diff --git a/rest_framework/decorators.py b/rest_framework/decorators.py
index cc5d92c2..d28d6e22 100644
--- a/rest_framework/decorators.py
+++ b/rest_framework/decorators.py
@@ -10,7 +10,6 @@ from __future__ import unicode_literals
from django.utils import six
from rest_framework.views import APIView
import types
-import warnings
def api_view(http_method_names):
diff --git a/rest_framework/generics.py b/rest_framework/generics.py
index 40c49844..b3bd6ce9 100644
--- a/rest_framework/generics.py
+++ b/rest_framework/generics.py
@@ -11,7 +11,6 @@ from django.utils.translation import ugettext as _
from rest_framework import views, mixins, exceptions
from rest_framework.request import clone_request
from rest_framework.settings import api_settings
-import warnings
def strict_positive_int(integer_string, cutoff=None):