Updates the core json media type in the docs

Per: http://www.django-rest-framework.org/topics/3.5-announcement/#corejson-media-type

(I was *wondering* why this didn't seem to work!)
This commit is contained in:
Mike Lissner 2017-04-20 11:37:46 -07:00 committed by GitHub
parent 8f6173cd8a
commit b8520a1f2e

View File

@ -117,7 +117,7 @@ The simplest way to include a schema in your project is to use the
Once the view has been added, you'll be able to make API requests to retrieve
the auto-generated schema definition.
$ http http://127.0.0.1:8000/ Accept:application/vnd.coreapi+json
$ http http://127.0.0.1:8000/ Accept:application/coreapi+json
HTTP/1.0 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/vnd.coreapi+json