Commit 761e66ff by Tom Christie

Merge pull request #1156 from dpetzel/tutorial_serialization

typo fix
parents 3833f1d5 48a38386
...@@ -225,7 +225,7 @@ For the moment we won't use any of REST framework's other features, we'll just w ...@@ -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`. 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.http import HttpResponse
from django.views.decorators.csrf import csrf_exempt from django.views.decorators.csrf import csrf_exempt
......
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