Commit 47765bc4 by Tom Christie

Merge pull request #3034 from m-vellinga/master

Use get_queryset() for RelatedField choices property
parents df7c1144 478b1dbd
...@@ -110,7 +110,7 @@ class RelatedField(Field): ...@@ -110,7 +110,7 @@ class RelatedField(Field):
six.text_type(self.to_representation(item)), six.text_type(self.to_representation(item)),
six.text_type(item) six.text_type(item)
) )
for item in self.queryset.all() for item in self.get_queryset()
]) ])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment