Matthieu Rigal
9e70152076
Merge pull request #961 from MRigal/id-meta-foo
...
Fixes and tests for default 'id' field creation in Document metaclass
2015-06-12 09:13:00 +02:00
Matthieu Rigal
e1da83a8f6
Cosmetic
2015-06-12 09:12:19 +02:00
Matthieu Rigal
8108198613
corrected formatting for Python 2.6 compatibility
2015-06-11 22:48:34 +02:00
Matthieu Rigal
915849b2ce
Implemented method to auto-generate non-collisioning auto_id names
2015-06-11 22:48:34 +02:00
mrigal
2e96302336
not in fix
2015-06-11 22:47:10 +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
Omer Katz
8909d1d144
Merge pull request #1005 from touilleMan/master
...
Raise error if save_condition fails #991
2015-06-11 22:25:17 +03:00
Matthieu Rigal
a2f0f20284
Improve error message for invalid query
2015-06-11 17:48:34 +02:00
Emmanuel Leblond
1951b52aa5
Fix #1017 (document clash between same ids but different collections)
2015-06-11 14:55:04 +02:00
Emmanuel Leblond
cd7a9345ec
Add issue related in changelog.rst
2015-06-11 14:45:19 +02:00
Matthieu Rigal
dba4c33c81
Merge pull request #1016 from bigblind/patch-2
...
Solution for documentation issue #1003
2015-06-11 14:40:41 +02:00
Emmanuel Leblond
153c239c9b
Replace assertRaisesRegexp by assertRaises (python2.6 compatibility)
2015-06-11 14:36:51 +02:00
Emmanuel Leblond
4034ab4182
Clean save_condition exception implementation and related tests
2015-06-11 14:30:10 +02:00
Emmanuel Leblond
9c917c3bd3
Update changelog
2015-06-11 14:30:10 +02:00
Emmanuel Leblond
cca0222e1d
Update AUTHORS
2015-06-11 14:29:42 +02:00
Emmanuel Leblond
682db9b81f
Add versionchanged to document save_condition
2015-06-11 14:29:42 +02:00
Emmanuel Leblond
3e000f9be1
Raise error if save_condition fails #991
2015-06-11 14:29:42 +02:00
Matthieu Rigal
548a552638
Merge pull request #994 from MRigal/fix/cls-index-at-desired-position
...
Added hashed index, a bit more of geo-indexes, possibility to give _cls
2015-06-11 14:20:01 +02:00
Matthieu Rigal
1d5b5b7d15
Merge pull request #1018 from MRigal/fix/517-no_dereference-not-respected-on-embedded-docs
...
Respect no_dereference() on embedded docs containing Ref
2015-06-11 14:16:11 +02:00
Frederik Creemers
91aa4586e2
Fixes after code review
2015-06-04 22:38:11 +02:00
Matthieu Rigal
6d3bc43ef6
Merge pull request #1000 from ProgressivePlanning/test_update_related
...
added passing test for updates on related models
2015-06-04 19:18:11 +02:00
Marcel van den Elst
0f63e26641
use AssertEqual instead of AssertListEqual for py2.6 compatibility
2015-06-04 15:02:32 +02:00
Breeze.kay
ab2ef69c6a
improve _created status when switch collection and db
2015-06-03 18:13:54 +08:00
Matthieu Rigal
621350515e
Added test was still failing and implemented solution as described in #517
2015-06-03 01:02:19 +02:00
Matthieu Rigal
03ed5c398a
Merge pull request #1007 from charanpald/master
...
GridFS files never deleted with Document deletion
2015-06-02 23:43:57 +02:00
Frederik Creemers
65d6f8c018
Solution for documentation issue #1003
...
Solution for documentation issue #1003 . The explanation about reverse_delete_rule was a bit mixed up.
2015-06-02 12:35:25 +02:00
Charanpal
79d0673ae6
Merge remote-tracking branch 'origin/patch-2'
2015-06-02 10:49:25 +01:00
Charanpal
cbd488e19f
Merge remote-tracking branch 'origin/patch-1'
2015-06-02 10:49:15 +01:00
Charanpal Dhanjal
380d869195
Add fix to FileField deletion
2015-06-02 10:23:37 +01:00
Charanpal Dhanjal
73893f2a33
Added charanpald
2015-06-02 10:20:37 +01:00
Charanpal Dhanjal
ad81470d35
Put space after hash
2015-06-02 10:17:17 +01:00
Charanpal Dhanjal
fc140d04ef
Fix comment in delete
2015-06-02 10:15:27 +01:00
Matthieu Rigal
a0257ed7e7
Updated test to use new create_index method
2015-06-02 00:14:18 +02:00
Matthieu Rigal
4769487c3b
Merge pull request #1012 from elin3t/patch-1
...
little object name fix in the readme
2015-06-01 23:46:36 +02:00
Matthieu Rigal
29def587ff
Merge pull request #1004 from brunopgalvao/patch-1
...
spelling change definion to definition
2015-06-01 23:27:50 +02:00
Matthieu Rigal
f35d0b2b37
Added create_index method, warnings for drop_dups and a geohaystack test
2015-06-01 23:12:43 +02:00
Matthieu Rigal
283e92d55d
Added hashed index, a bit more of geo-indexes, possibility to give _cls and docs
2015-06-01 22:11:21 +02:00
Eliecer Daza
c82b26d334
little object name fix
...
replace little object name HtmlPost with TextPost that is the one used on the example
2015-05-31 18:28:12 -05:00
Charanpal
2753e02cda
Fix for case where Document is deleted and it's files (FieldFields) in GridFS remain.
2015-05-23 14:46:56 +01:00
Bruno Pierri Galvao
fde733c205
spelling change definion to definition
2015-05-21 10:22:02 -04:00
Marcel van den Elst
f730591f2c
added passing test for updates on related models
...
ref #570 : test would fail from v0.8.5 up, but fixed in master
2015-05-20 13:01:44 +02:00
David Bordeynik
94eac1e79d
Merge pull request #946 from MRigal/fix/pymongo3-connection
...
fixes #946
2015-05-11 15:51:51 +03:00
Matthew Ellison
9f2b6d0ec6
Merge pull request #894 from MongoEngine/topic/not-in-style-issue
...
Code Cleanup
- Use not in instead of not (x in y)
2015-05-08 09:06:32 -04:00
Omer Katz
7d7d0ea001
Use not in instead of not (x in y).
2015-05-08 12:50:34 +03:00
Matthieu Rigal
794101691c
removed wire_concern usage and cosmetics
2015-05-07 19:34:31 +02:00
Matthew Ellison
a443144a5c
Merge pull request #995 from seglberg/PR/952-squash
...
Unit Test - Unique Multikey Index
2015-05-07 13:12:11 -04:00
Eli Boyarski
73f0867061
Unit Test - Unique Multikey Index
...
Adds a unit test to exhibit the behavior of MongoDB when using a unique
multikey index. MongoDB treats any missing unique multikey index value
as NULL, thus throwing a Duplicate Key Error when saving multiple
missing values.
See #930 for more information.
- Closes #930
- Closes #952
2015-05-07 11:16:47 -04:00
Matthieu Rigal
f97db93212
corrected test for MongoDB 2.X
2015-05-07 12:48:25 +02:00