mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
trunk bug.
This commit is contained in:
parent
364299b0aa
commit
73572bc199
|
@ -329,7 +329,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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user