Tweak to work with serializer performance improvement

This commit is contained in:
Tom Christie 2012-11-21 17:32:20 +00:00
parent 774d687a31
commit b0bad35ef0

View File

@ -327,7 +327,7 @@ class BrowsableAPIRenderer(BaseRenderer):
}
fields = {}
for k, v in serializer.get_fields(True).items():
for k, v in serializer.get_fields().items():
if getattr(v, 'read_only', True):
continue