From d8285c2d49640aeb85785a9fccf6ad121de3aea7 Mon Sep 17 00:00:00 2001 From: tom christie tom@tomchristie.com Date: Sat, 19 Feb 2011 13:54:55 +0000 Subject: Fix status import --- examples/pygments_api/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/pygments_api/views.py b/examples/pygments_api/views.py index 84e5e703..ac8b4cfb 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 -- cgit v1.2.3