diff options
| author | Tom Christie | 2014-10-08 11:22:10 +0100 |
|---|---|---|
| committer | Tom Christie | 2014-10-08 11:22:10 +0100 |
| commit | 6b09e5f2bba9167404ec329fa12c7f0215ca51ac (patch) | |
| tree | 566a2fc1e395daf71a4c4f573834f531aae31cf9 /rest_framework/relations.py | |
| parent | 093febb91299e332c810de6a6b6aba57c2b16a91 (diff) | |
| download | django-rest-framework-6b09e5f2bba9167404ec329fa12c7f0215ca51ac.tar.bz2 | |
Tests for generic relationships
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 e5bdf60c..df5025b8 100644 --- a/rest_framework/relations.py +++ b/rest_framework/relations.py @@ -49,7 +49,7 @@ class RelatedField(Field): ]) -class StringRelatedField(Field): +class StringRelatedField(RelatedField): """ A read only field that represents its targets using their plain string representation. |
