Minor documentation fixes (#6543)

This commit is contained in:
Matt Hegarty 2019-03-29 06:32:25 +00:00 committed by Ryan P Kilby
parent 13b9b0fb98
commit f34a0a4e6a
2 changed files with 2 additions and 3 deletions

View File

@ -20,7 +20,7 @@ can render the schema into the commonly used YAML-based OpenAPI format.
## Quickstart
There are two different ways you can serve a schema description for you API.
There are two different ways you can serve a schema description for your API.
### Generating a schema with the `generateschema` management command

View File

@ -8,7 +8,7 @@ The tutorial is fairly in-depth, so you should probably get a cookie and a cup o
---
**Note**: The code for this tutorial is available in the [tomchristie/rest-framework-tutorial][repo] repository on GitHub. The completed implementation is also online as a sandbox version for testing, [available here][sandbox].
**Note**: The code for this tutorial is available in the [encode/rest-framework-tutorial][repo] repository on GitHub. The completed implementation is also online as a sandbox version for testing, [available here][sandbox].
---
@ -218,7 +218,6 @@ Edit the `snippets/views.py` file, and add the following.
from django.http import HttpResponse, JsonResponse
from django.views.decorators.csrf import csrf_exempt
from rest_framework.renderers import JSONRenderer
from rest_framework.parsers import JSONParser
from snippets.models import Snippet
from snippets.serializers import SnippetSerializer