Created ObjectIdField, removed object_id field parameter
This commit is contained in:
parent
ff5e5addf5
commit
94be32b387
5 changed files with 56 additions and 18 deletions
|
|
@ -10,7 +10,6 @@ class CollectionManager(object):
|
|||
self._collection_name = document._meta['collection']
|
||||
# This will create the collection if it doesn't exist
|
||||
self._collection = db[self._collection_name]
|
||||
self._id_field = document._meta['object_id_field']
|
||||
|
||||
def _save_document(self, document):
|
||||
"""Save the provided document to the collection.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue