mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-23 01:57:00 +03:00
fix typo
This commit is contained in:
parent
79dad012b0
commit
b773f03bd0
|
@ -788,7 +788,7 @@ Here's an example of how you might choose to implement multiple updates:
|
||||||
# Perform creations and updates.
|
# Perform creations and updates.
|
||||||
ret = []
|
ret = []
|
||||||
for book_id, data in data_mapping.items():
|
for book_id, data in data_mapping.items():
|
||||||
book = book_mapping.get(book_id, None):
|
book = book_mapping.get(book_id, None)
|
||||||
if book is None:
|
if book is None:
|
||||||
ret.append(self.child.create(data))
|
ret.append(self.child.create(data))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user