aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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):