mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-02 03:13:18 +03:00
Fixed typo in import statement of tutorial
This commit is contained in:
parent
52b12434d0
commit
3e8336af50
|
@ -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'])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user