diff options
| author | tom christie tom@tomchristie.com | 2011-02-19 13:54:55 +0000 | 
|---|---|---|
| committer | tom christie tom@tomchristie.com | 2011-02-19 13:54:55 +0000 | 
| commit | d8285c2d49640aeb85785a9fccf6ad121de3aea7 (patch) | |
| tree | b2d0a382b941aa6a6e4d69b71d0f6692e7bd9ade | |
| parent | 66f595f41a2f23698cafa964414b1ae086c0b821 (diff) | |
| download | django-rest-framework-d8285c2d49640aeb85785a9fccf6ad121de3aea7.tar.bz2 | |
Fix status import
| -rw-r--r-- | examples/pygments_api/views.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| 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 | 
