diff --git a/examples/pygments_api/views.py b/examples/pygments_api/views.py index 84e5e7038..ac8b4cfb9 100644 --- a/examples/pygments_api/views.py +++ b/examples/pygments_api/views.py @@ -3,8 +3,9 @@ from django.conf import settings from django.core.urlresolvers import reverse from djangorestframework.resource import Resource -from djangorestframework.response import Response, status +from djangorestframework.response import Response from djangorestframework.emitters import BaseEmitter +from djangorestframework import status from pygments.formatters import HtmlFormatter from pygments.lexers import get_lexer_by_name