diff options
| author | Tymur Maryokhin | 2014-12-05 00:29:28 +0100 |
|---|---|---|
| committer | Tymur Maryokhin | 2014-12-05 00:29:28 +0100 |
| commit | d9930181ee157f51e2fcea33a3af5ea397647324 (patch) | |
| tree | 06e65d1f2a34b70c912dfa3e696611ca0cc00a65 /rest_framework/relations.py | |
| parent | 45dc44b2038f5533a472b015c45200b5d1ca6052 (diff) | |
| download | django-rest-framework-d9930181ee157f51e2fcea33a3af5ea397647324.tar.bz2 | |
Removed unused imports, pep8 fixes, typo fixes
Diffstat (limited to 'rest_framework/relations.py')
| -rw-r--r-- | rest_framework/relations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/relations.py b/rest_framework/relations.py index d0cd3154..178a8e2b 100644 --- a/rest_framework/relations.py +++ b/rest_framework/relations.py @@ -142,7 +142,7 @@ class PrimaryKeyRelatedField(RelatedField): def get_iterable(self, instance, source_attrs): # For consistency with `get_attribute` we're using `serializable_value()` # here. Typically there won't be any difference, but some custom field - # types might return a non-primative value for the pk otherwise. + # types might return a non-primitive value for the pk otherwise. # # We could try to get smart with `values_list('pk', flat=True)`, which # would be better in some case, but would actually end up with *more* |
