Merge pull request #463 from mvdwaeter/patch-1

Fixed typo in import statement of tutorial
This commit is contained in:
Marko Tibold 2012-11-30 13:32:08 -08:00
commit 3114b4fa50

View File

@ -41,8 +41,8 @@ We don't need our `JSONResponse` class anymore, so go ahead and delete that. On
from rest_framework import status from rest_framework import status
from rest_framework.decorators import api_view from rest_framework.decorators import api_view
from rest_framework.response import Response from rest_framework.response import Response
from snippet.models import Snippet from snippets.models import Snippet
from snippet.serializers import SnippetSerializer from snippets.serializers import SnippetSerializer
@api_view(['GET', 'POST']) @api_view(['GET', 'POST'])