Commit 3e8336af by mvdwaeter

Fixed typo in import statement of tutorial

parent 52b12434
...@@ -41,8 +41,8 @@ We don't need our `JSONResponse` class anymore, so go ahead and delete that. On ...@@ -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'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment