aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/test_serializer.py
diff options
context:
space:
mode:
authorCarlton Gibson2013-09-20 14:20:21 +0200
committerCarlton Gibson2013-09-20 14:20:21 +0200
commitb82c44af48f25c0a60880b8d702caf6a74d80baa (patch)
treeecd8761fce74c0a86d98187accd4377b95adddbb /rest_framework/tests/test_serializer.py
parentf07a4f4ca3812fbe45d698e4ba0f9ff9099b6887 (diff)
downloaddjango-rest-framework-b82c44af48f25c0a60880b8d702caf6a74d80baa.tar.bz2
Correct typo in doc string.
Diffstat (limited to 'rest_framework/tests/test_serializer.py')
-rw-r--r--rest_framework/tests/test_serializer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/test_serializer.py b/rest_framework/tests/test_serializer.py
index 43d24411..8d246b01 100644
--- a/rest_framework/tests/test_serializer.py
+++ b/rest_framework/tests/test_serializer.py
@@ -271,7 +271,7 @@ class BasicTests(TestCase):
Check _data attribute is cleared on `save()`
Regression test for #1116
- — id field is not populated is `data` is accessed prior to `save()`
+ — id field is not populated if `data` is accessed prior to `save()`
"""
serializer = ActionItemSerializer(self.actionitem)
self.assertIsNone(serializer.data.get('id',None), 'New instance. `id` should not be set.')