Merge pull request #1156 from dpetzel/tutorial_serialization

typo fix
This commit is contained in:
Tom Christie 2013-10-06 00:40:25 -07:00
commit 761e66ffdd

View File

@ -225,7 +225,7 @@ For the moment we won't use any of REST framework's other features, we'll just w
We'll start off by creating a subclass of HttpResponse that we can use to render any data we return into `json`.
Edit the `snippet/views.py` file, and add the following.
Edit the `snippets/views.py` file, and add the following.
from django.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt