mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 04:20:12 +03:00
Removed not needed cast
This commit is contained in:
parent
95ed94ae60
commit
f1f657d24f
|
@ -106,7 +106,7 @@ def distribute_links(obj):
|
|||
distribute_links(value)
|
||||
|
||||
for link in obj.links:
|
||||
key = obj.get_next_key(str(link.action))
|
||||
key = obj.get_next_key(link.action)
|
||||
obj[key] = link
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user