A frequently mentioned and well documented problem/solution with the 
browsable API is foreign key relationships that generate huge drop down 
lists in the POST form. The documentation shows how to resolve this in the 
serializer using queryset=MyObject.objects.all(), style={'base_template': 
'input.html'}

The same problem exists when a foreign key is used as a filter field and 
the browsable API attempts to render the filter dialog, however the same 
solution does not seem to affect that rendering at all and consequently the 
page loads very slowly.

I have Googled and dug into the source to no avail yet. Does anyone know 
how to resolve this problem?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to