mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
Py3 fix - .items is not a list.
This commit is contained in:
parent
071c064d25
commit
1aa58d16be
|
@ -562,7 +562,7 @@ class BrowsableAPIRenderer(BaseRenderer):
|
|||
serializer.data,
|
||||
self.accepted_media_type,
|
||||
dict(
|
||||
self.renderer_context.items() +
|
||||
list(self.renderer_context.items()) +
|
||||
[('template', 'rest_framework/api_form.html')]
|
||||
)
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user