Added dictionary-style access to documents
Added __init__.py info to package, moved TopLevelDocumentMetaclass to base.py, added tests for dictionary-style access.
This commit is contained in:
parent
768bffd67e
commit
00d897d29a
5 changed files with 80 additions and 38 deletions
|
|
@ -1,7 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from mongomap.document import Document
|
||||
from mongomap.fields import *
|
||||
from mongomap import *
|
||||
|
||||
|
||||
class FieldTest(unittest.TestCase):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue