Gang Li
2c4536e137
redo fix for ListField loses use_db_field when serializing #1217
...
The new fix reverted the change on BaseField to_mongo so that it will not force
new field class to add kwargs to to_mongo function. The new derived field class
to_mongo can support use_db_field and fields parameters as needed.
Basically all field classes derived from ComplexBaseField support those parameters.
2016-09-06 17:27:47 -04:00
iici-gli and GitHub
e5b6a12977
Merge pull request #1 from MongoEngine/master
...
pull new changes from original
2016-09-04 23:43:04 -04:00
Gang Li
ca415d5d62
Fix for:Base document _mark_as_changed bug #1369
2016-09-04 14:20:59 -04:00
Gang Li
8e7c5af16c
Merge remote-tracking branch 'remotes/upstream/master'
...
Conflicts:
AUTHORS
docs/changelog.rst
2015-10-18 01:28:50 -04:00
Gang Li
c1645ab7a7
restored
2015-10-18 01:14:27 -04:00
Gang Li
2ae2bfdde9
updated changelog.rst for #1119
2015-10-18 00:31:40 -04:00
Gang Li
3fe93968a6
update test case for: Please recall fix on: Saving document doesn't create new fields in existing collection #620 #1126
2015-10-18 00:19:36 -04:00
Gang Li
eb8176971c
Removed "elif field.default" block to avoid silently, inconsistently changing database
...
This resolved issue Please recall fix on: Saving document doesn't create new fields in existing collection #620 #1126
2015-10-12 23:33:54 -04:00
Gang Li
5bbfca45fa
Fixed: ListField minus index assignment does not work #1119
...
Add code to detect '-1' as a integer.
Normalize negative index to regular list index
Added list assignment test case
2015-10-12 10:34:26 -04:00