mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-24 00:04:16 +03:00
Merge pull request #1958 from gulopine/version-3.0
Add a .keys() method to BindingDict
This commit is contained in:
commit
2648442a6b
|
@ -230,6 +230,9 @@ class BindingDict(object):
|
|||
def items(self):
|
||||
return self.fields.items()
|
||||
|
||||
def keys(self):
|
||||
return self.fields.keys()
|
||||
|
||||
def values(self):
|
||||
return self.fields.values()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user