aboutsummaryrefslogtreecommitdiffstats
path: root/docs/api-guide/testing.md
diff options
context:
space:
mode:
authorPhilip Douglas2013-08-16 07:15:09 -0700
committerPhilip Douglas2013-08-16 07:15:09 -0700
commitef7ce344865938bea285a408a7cc415a7b90a83c (patch)
tree1bfa78c86e422f81cf836319d91c626c763d5b24 /docs/api-guide/testing.md
parentc058ab36b13a6979c57760d9af2eb21ec3165e7d (diff)
parentc1ccd8b5b5aef1bd209862f9431c9c03e25ae755 (diff)
downloaddjango-rest-framework-ef7ce344865938bea285a408a7cc415a7b90a83c.tar.bz2
Merge pull request #3 from tomchristie/master
Update to latest
Diffstat (limited to 'docs/api-guide/testing.md')
-rw-r--r--docs/api-guide/testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api-guide/testing.md b/docs/api-guide/testing.md
index 40b07763..92f8d54a 100644
--- a/docs/api-guide/testing.md
+++ b/docs/api-guide/testing.md
@@ -34,7 +34,7 @@ To support a wider set of request formats, or change the default format, [see th
#### Explicitly encoding the request body
-If you need to explictly encode the request body, you can do so by setting the `content_type` flag. For example:
+If you need to explicitly encode the request body, you can do so by setting the `content_type` flag. For example:
request = factory.post('/notes/', json.dumps({'title': 'new idea'}), content_type='application/json')