mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 00:04: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,
|
serializer.data,
|
||||||
self.accepted_media_type,
|
self.accepted_media_type,
|
||||||
dict(
|
dict(
|
||||||
self.renderer_context.items() +
|
list(self.renderer_context.items()) +
|
||||||
[('template', 'rest_framework/api_form.html')]
|
[('template', 'rest_framework/api_form.html')]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user