diff options
Diffstat (limited to 'djangorestframework/tests/reverse.py')
| -rw-r--r-- | djangorestframework/tests/reverse.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/djangorestframework/tests/reverse.py b/djangorestframework/tests/reverse.py index 8d467513..b4791135 100644 --- a/djangorestframework/tests/reverse.py +++ b/djangorestframework/tests/reverse.py @@ -4,11 +4,11 @@ from django.utils import simplejson as json from djangorestframework.renderers import JSONRenderer from djangorestframework.reverse import reverse -from djangorestframework.views import View +from djangorestframework.views import APIView from djangorestframework.response import Response -class MyView(View): +class MyView(APIView): """ Mock resource which simply returns a URL, so that we can ensure that reversed URLs are fully qualified. |
