Added json serialisation support

- Added to_json and from_json to Document (MongoEngine/mongoengine#1)
- Added to_json and from_json to QuerySet (MongoEngine/mongoengine#131)
This commit is contained in:
Ross Lawley
2012-11-08 12:04:14 +00:00
parent 4b45c0cd14
commit b8d53a6f0d
8 changed files with 201 additions and 20 deletions

View File

@@ -1,4 +1,6 @@
# TODO EXPLICT IMPORTS
import sys
sys.path[0:0] = [""]
import unittest
from class_methods import *
from delta import *
@@ -6,6 +8,7 @@ from dynamic import *
from indexes import *
from inheritance import *
from instance import *
from json_serialisation import *
if __name__ == '__main__':
unittest.main()