Ross Lawley
Ross Lawley
can you provide a test case?
just chasing this up.
I agree with this, however `document.id` is used internally also so this fix would be bigger and have knock on impacts. For now please refrain from mixing `id` and another...
Appears to be just the testsuite and dates not playing nice #392
Yeah I had to do similar especially once pymongo's connection pool caching and mongoengine started to clash. This has been fixed in `dev` : https://github.com/hmarr/mongoengine/blob/dev/mongoengine/document.py#L330-338 and will be in the...
@danaki - does this work for you? https://github.com/hmarr/mongoengine/issues/419#issuecomment-3760555
btw this was my old teardown: ``` def teardown(self): """Clean all connections cached in the _document_registry.""" QuerySet._reset_already_indexed() from mongoengine.base import _document_registry for k, doc in _document_registry.items(): if not hasattr(doc, '_get_collection')...
ok - what version where you running 0.5.2?
Started in 6d9bfff19cd3ddfe360cf34501a87471f3370105
Thanks for reposting - scheduled for 0.7 :)