Remove _deleted private key

This commit is contained in:
2016-04-29 10:01:11 +02:00
parent d60a1878e7
commit 838fbd14ae

View File

@@ -48,6 +48,7 @@ class Project(List, Find, Create, Post, Update, Delete, Replace):
attributes.pop('_created', None)
attributes.pop('_updated', None)
attributes.pop('_links', None)
attributes.pop('_deleted', None)
attributes.pop('allowed_methods')
# Strip embedded image file properties and revert to ObjectId
for prop in ['picture_square', 'picture_header']: