diff options
| author | Carlton Gibson | 2013-09-20 14:20:21 +0200 |
|---|---|---|
| committer | Carlton Gibson | 2013-09-20 14:20:21 +0200 |
| commit | b82c44af48f25c0a60880b8d702caf6a74d80baa (patch) | |
| tree | ecd8761fce74c0a86d98187accd4377b95adddbb /rest_framework/tests/test_serializer.py | |
| parent | f07a4f4ca3812fbe45d698e4ba0f9ff9099b6887 (diff) | |
| download | django-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.py | 2 |
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.') |
