aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Groß2012-10-29 08:58:29 +0100
committerStephan Groß2012-10-29 08:58:29 +0100
commitc6240f4514ad34c53122eed77a349b71f28d8847 (patch)
tree186e315b81a84b3e9aae17ee3272f36d85acee80
parent76db7d4c590957c7e81ce521a1ab5bfb6760afaf (diff)
downloaddjango-rest-framework-c6240f4514ad34c53122eed77a349b71f28d8847.tar.bz2
removed empty row
-rw-r--r--docs/tutorial/1-serialization.md1
1 files changed, 0 insertions, 1 deletions
diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md
index f6dcca13..7330fdef 100644
--- a/docs/tutorial/1-serialization.md
+++ b/docs/tutorial/1-serialization.md
@@ -219,7 +219,6 @@ Edit the `snippet/views.py` file, and add the following.
"""
An HttpResponse that renders it's content into JSON.
"""
-
def __init__(self, data, **kwargs):
content = JSONRenderer().render(data)
kwargs['content_type'] = 'application/json'