Hello,
I needed the support for mongodb 3.6 but the former version of pymongo wasn't able to handle it. So I started the update train, and updated pymongo and motor to the newest version. This lead to some fixes in motorengine, which are part of this pull request.
I also added some more tests to increase the coverage.
UPDATE
I added a tz parameter to the DateTimeField to enable non naive datetime objects to be set with auto insert and auto update. And also ensuring a certain timezone for all set values onwards. If a datetime with a different timezone is set, it will converted to the on initialization defined timezone.
All the single steps are elaborated in the commit messages.
Coverage increased (+0.9%) to 95.655% when pulling 800b9a8129f7e43e038f435bdf6c5f56496dc7f8 on danielkiedrowski:master into 81513dfd3546d301f65c057c4f14375e31eb97f3 on heynemann:master.
Hello, I needed the support for mongodb 3.6 but the former version of pymongo wasn't able to handle it. So I started the update train, and updated
pymongo
and motor to the newest version. This lead to some fixes inmotorengine
, which are part of this pull request.I also added some more tests to increase the coverage.
UPDATE I added a
tz
parameter to theDateTimeField
to enable non naivedatetime
objects to be set with auto insert and auto update. And also ensuring a certain timezone for all set values onwards. If adatetime
with a different timezone is set, it will converted to the on initialization defined timezone.All the single steps are elaborated in the commit messages.
Thanks for this great package. Cheers