aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/1-serialization.md
diff options
context:
space:
mode:
authorTom Christie2013-06-13 00:09:26 -0700
committerTom Christie2013-06-13 00:09:26 -0700
commit982411e6f44e4135e837e4896d902a01f543dec4 (patch)
treea9cc1ef576b2d3860a7daa5bb2c9b83073ef035a /docs/tutorial/1-serialization.md
parent1cc2a7b25e78fcb41f44dc5b580f0f00a0a6318a (diff)
parent250dfef158b107178ff9bea1743c767af9210d5e (diff)
downloaddjango-rest-framework-982411e6f44e4135e837e4896d902a01f543dec4.tar.bz2
Merge pull request #932 from tobych/python-titlecase
Changes 'python' to 'Python' when used in prose.
Diffstat (limited to 'docs/tutorial/1-serialization.md')
-rw-r--r--docs/tutorial/1-serialization.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md
index bbb9b73c..bc31d234 100644
--- a/docs/tutorial/1-serialization.md
+++ b/docs/tutorial/1-serialization.md
@@ -175,13 +175,13 @@ We've now got a few snippet instances to play with. Let's take a look at serial
serializer.data
# {'pk': 2, 'title': u'', 'code': u'print "hello, world"\n', 'linenos': False, 'language': u'python', 'style': u'friendly'}
-At this point we've translated the model instance into python native datatypes. To finalize the serialization process we render the data into `json`.
+At this point we've translated the model instance into Python native datatypes. To finalize the serialization process we render the data into `json`.
content = JSONRenderer().render(serializer.data)
content
# '{"pk": 2, "title": "", "code": "print \\"hello, world\\"\\n", "linenos": false, "language": "python", "style": "friendly"}'
-Deserialization is similar. First we parse a stream into python native datatypes...
+Deserialization is similar. First we parse a stream into Python native datatypes...
import StringIO