aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/viewsets.py
diff options
context:
space:
mode:
authorTom Christie2013-04-29 12:45:00 +0100
committerTom Christie2013-04-29 12:45:00 +0100
commitdc7b1d643020cac5d585aac42f98962cc7aa6bf7 (patch)
treeaf73e602942e2b566580be7c3827c034c2c3cca4 /rest_framework/viewsets.py
parent70831ad0bb62e88ef93e8c1815444ac709eb9883 (diff)
downloaddjango-rest-framework-dc7b1d643020cac5d585aac42f98962cc7aa6bf7.tar.bz2
2.2's PendingDeprecationWarnings now become DeprecationWarnings. 2.3's PendingDeprecationWarnings added.
Diffstat (limited to 'rest_framework/viewsets.py')
-rw-r--r--rest_framework/viewsets.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/rest_framework/viewsets.py b/rest_framework/viewsets.py
index bd25df77..a54467d7 100644
--- a/rest_framework/viewsets.py
+++ b/rest_framework/viewsets.py
@@ -16,6 +16,8 @@ automatically.
router.register(r'users', UserViewSet, 'user')
urlpatterns = router.urls
"""
+from __future__ import unicode_literals
+
from functools import update_wrapper
from django.utils.decorators import classonlymethod
from rest_framework import views, generics, mixins