Stefan Wójcik aa76ccdd25
Fix Document._object_key (#2125)
Previous implementation of `Document._object_key` was *pretending* to work on
MongoEngine-level fields (e.g. using "pk" instead of "_id" and separating
nested field parts by "__" instead of "."), but then it was also attempting to
transform field names from the `shard_key` into DB-level fields.

This, expectedly, didn't really work well. Most of the test cases added in this
commit were failing prior to the code fixes.
2019-07-09 12:08:26 +02:00
..
2019-07-09 12:08:26 +02:00
2015-06-23 23:16:08 +02:00
2014-12-02 00:37:06 -02:00
2009-12-19 16:04:05 +00:00