Stefan Wojcik
3ebe3748fa
use with self.assertRaises for readability
2016-12-10 22:33:39 -05:00
Stefan Wojcik
bc6c84c408
remove unnecessary sys.path manipulation in tests
2016-12-06 13:27:10 -05:00
Konstantin Gukov
ddedc1ee92
Fixed too broad exception clauses in the project
2016-02-23 23:50:45 +05:00
Matthieu Rigal
915849b2ce
Implemented method to auto-generate non-collisioning auto_id names
2015-06-11 22:48:34 +02:00
mrigal
051cd744ad
added another test to proove we still do not handle all cases well
2015-06-11 22:47:10 +02:00
mrigal
53fbc165ba
added content of PR #688 with a test to proove it is a bit right
2015-06-11 22:47:10 +02:00
mrigal
1862bcf867
added test for abstract document without pk creation and adapted behaviour
2015-06-11 22:47:10 +02:00
DavidBord
9a4aef0358
fix-#789: abstract shouldn't be inherited in EmbeddedDocument
2014-10-29 13:36:42 +02:00
DavidBord
9b30afeca9
fix-#397: Allow specifying the '_cls' as a field for indexes
2014-08-24 10:51:49 +03:00
Ross Lawley
000eff73cc
Make test_indexes_and_multiple_inheritance place nice with py3.3 ( #364 )
2013-06-07 08:33:34 +00:00
Stefan Wojcik
ba7101ff92
list_indexes support for multiple inheritance
2013-06-06 22:22:43 -07:00
Ross Lawley
36993097b4
Document serialization uses field order to ensure a strict order is set ( #296 )
2013-04-26 11:38:45 +00:00
Ross Lawley
0cbd3663e4
Updated tests
2013-01-28 13:40:28 +00:00
Ross Lawley
a68529fba8
Merge branch 'master' into 0.8
...
Conflicts:
tests/test_document.py
2013-01-09 13:36:17 +00:00
Ross Lawley
3d5b6ae332
Inheritance is off by default ( MongoEngine/mongoengine#122 )
2012-10-22 19:29:26 +00:00
Ross Lawley
6f29d12386
Changed the inheritance model to remove types
...
The inheritance model has changed, we no longer need to store an array of
`types` with the model we can just use the classname in `_cls`.
See the upgrade docs for information on how to upgrade
MongoEngine/mongoengine#148
2012-10-15 13:48:02 +00:00