aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework
diff options
context:
space:
mode:
authorMarc Tamlyn2013-03-08 17:01:43 +0000
committerMarc Tamlyn2013-03-08 17:01:43 +0000
commita91dca178dc9681a0411a343b960a6f9a9dd8011 (patch)
treedac86b51467ab08a6c8ddc82021a97c1e651f452 /rest_framework
parent5fffaf89e2df8f1213e2a8c3aea7efb35941808c (diff)
downloaddjango-rest-framework-a91dca178dc9681a0411a343b960a6f9a9dd8011.tar.bz2
Correcy typo.
Diffstat (limited to 'rest_framework')
-rw-r--r--rest_framework/tests/generics.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/generics.py b/rest_framework/tests/generics.py
index f7093401..5f206769 100644
--- a/rest_framework/tests/generics.py
+++ b/rest_framework/tests/generics.py
@@ -263,7 +263,7 @@ class TestInstanceView(TestCase):
at the requested url if it doesn't exist.
"""
content = {'text': 'foobar'}
- # pk fields can not be created on demand, only the database can set th pk for a new object
+ # pk fields can not be created on demand, only the database can set the pk for a new object
request = factory.put('/5', json.dumps(content),
content_type='application/json')
response = self.view(request, pk=5).render()