Ross Lawley
a8d91a56bf
Fixes circular list references
...
The depth deduciton for _fields was over zealous
now max_depth is honoured/
Fixes #373
2011-11-29 03:43:49 -08:00
Ross Lawley
c775c0a80c
Circular references with EmbeddedDocumentField fix
...
Fixes #345
2011-11-28 08:23:28 -08:00
Ross Lawley
700e2cd93d
Updated changelog
2011-11-28 08:16:36 -08:00
Ross Lawley
d00859ecfd
Updated changelog - DictField fix
2011-11-28 07:07:26 -08:00
Ross Lawley
4e73566c11
Updated changelog - optional cascasde saves
2011-11-28 07:06:56 -08:00
Ross Lawley
83fff80b0f
Cleaned up dereferencing
...
Dereferencing now respects max_depth, so should be more performant.
Reload is chainable and can be passed a max_depth for dereferencing
Added an Observer for ComplexBaseFields.
Refs #324 #323 #289
Closes #320
2011-11-25 08:36:47 -08:00
Ross Lawley
63c5a4dd65
Fixes saving document schemas that have changed
...
Ensures that form defaults which are documents are
automatically marked as changed, so schemas can evolve
without migration issues.
[#360 ]
2011-11-22 07:34:08 -08:00
Adam Parrish
34646a414c
Fixes bug using positional operator to update embedded documents.
...
append_field wasn't getting reset to True in the loop, so fields wouldn't
get appended to clean_fields after str was encountered
[#354 ]
2011-11-11 01:10:00 -08:00
Ross Lawley
4e44198bbd
Clean up of choices code and added tests
...
[#284 ] [#314 ]
2011-11-04 01:45:44 -07:00
Ross Lawley
59bd72a888
Added tests for __repr__ fix
2011-11-01 02:15:31 -07:00
Ross Lawley
558b8123b5
Merge branch 'validation-schema' of https://github.com/n1k0/mongoengine into validation-schema
...
Conflicts:
mongoengine/base.py
mongoengine/fields.py
2011-11-01 01:45:32 -07:00
Ross Lawley
ecdf2ae5c7
Updated docs and Authors
2011-11-01 01:20:47 -07:00
Ross Lawley
5eb63cfa30
Updated changelog
2011-10-27 01:14:51 -07:00
Ross Lawley
5dc998ed52
Merge branch 'dev-bulkinsertsignal' of https://github.com/colinhowe/mongoengine into bulk
2011-10-27 01:13:59 -07:00
Ross Lawley
56d1139d71
Added ImageField Support
...
Thanks to @wpjunior for the patch
Closes [#298 ]
2011-10-27 00:58:47 -07:00
Ross Lawley
165cdc8840
Updated changelog
2011-10-27 00:35:34 -07:00
Ross Lawley
634e1f661f
Updated docs / upgrade notes
2011-10-27 00:31:48 -07:00
Ross Lawley
76d771d20f
Merge branch 'master' into dev
...
Conflicts:
AUTHORS
docs/changelog.rst
mongoengine/base.py
2011-10-12 00:35:01 -07:00
Ross Lawley
452bbcc19b
Ported fix for Circular Reference bug to Master
...
Ready for a 0.5.2 release
2011-10-12 00:30:12 -07:00
Ross Lawley
0624cdd6e4
Fixes collection creation post drop_collection
...
Thanks to Julien Rebetez for the original patch
closes [#285 ]
2011-10-11 02:26:33 -07:00
Ross Lawley
7b1860d17b
Fixes tree based circular references
...
Thanks to jpfarias for the fix.
Also normalised the other circular checks.
2011-10-10 09:16:32 -07:00
Ross Lawley
8797565606
UPdated changelog
2011-10-08 08:13:53 -07:00
Ross Lawley
268908b3b2
Improvements to .get() efficiency
...
Closes #307 and #290
2011-10-08 08:06:23 -07:00
Ross Lawley
fb70b47acb
Merge branch 'master' into dev
...
Conflicts:
docs/changelog.rst
2011-10-08 07:33:52 -07:00
Ross Lawley
9a0a0b1bd4
Ported bugfix for circular references regression
...
Refs #294
2011-10-08 07:29:12 -07:00
Ross Lawley
dca135190a
Fixed changelog
2011-10-04 04:28:30 -07:00
Ross Lawley
aedcf3dc81
Merge branch 'listfield' into dev
...
Conflicts:
docs/changelog.rst
2011-10-04 04:28:04 -07:00
Ross Lawley
6961a9494f
Updates to ComplexFields
...
Required now means they cannot be empty [#302 ]
2011-10-04 04:26:56 -07:00
Ross Lawley
6d70ef1a08
Updated changelog [ #304 ]
2011-10-04 03:18:39 -07:00
Ross Lawley
60b6ad3fcf
Added test for listfield fix
...
Added Pau Aliagas to authors
[closes #299 ]
2011-10-03 05:30:23 -07:00
Ross Lawley
a7edd8602c
Added support for expando style dynamic documents.
...
Added two new classes: DynamicDocument and DynamicEmbeddedDocument
for handling expando style setting of attributes.
[closes #112 ]
2011-09-28 01:39:39 -07:00
Ross Lawley
8105bfd8b3
Updated changelog for 0.5 release
2011-09-10 13:00:34 +01:00
Colin Howe
b91db87ae0
Pre and post bulk-insert signals
2011-09-09 19:17:40 +01:00
Ross Lawley
050542c29b
Added InvalidDocumentError
...
Ensures defined documents are valid and users don't override core methods
by accident.
fixes #275
2011-09-09 17:36:40 +01:00
Ross Lawley
60f0491f62
Updated changelog
2011-09-09 17:35:44 +01:00
Ross Lawley
91a0e499d9
Updated changelog and authors
...
Refs #263
2011-08-17 21:48:41 +01:00
Ross Lawley
2a8543b3b7
Updated changelog
2011-08-16 15:26:11 +01:00
Ross Lawley
fd2e40d735
Updated changelog
2011-08-16 15:24:37 +01:00
Ross Lawley
3f301f6b0f
Finishing touches to where implementation - thanks to dcrosta
...
Refs #242
2011-08-16 10:32:21 +01:00
Ross Lawley
3f3f93b0fa
Fixing delta bug for dict fields
2011-07-29 15:48:29 +01:00
Ross Lawley
5834fa840c
Tweaked SequenceField so that it doesn't increment on creation.
...
[refs #238 ]
2011-07-19 16:51:26 +01:00
Ross Lawley
7395ce5b22
Updating changelog
2011-07-13 16:05:17 +01:00
Ross Lawley
0fb629e24c
Added cascading deletes
...
Also ensured that unsetting works when not the default value of a field
2011-07-11 16:01:48 +01:00
Ross Lawley
b039a2293f
Updated documentation about dereferencing
...
Refs #206
2011-06-27 12:42:26 +01:00
Ross Lawley
14be7ba2e2
Added support for the $ positional operator
...
closes #205
2011-06-21 14:50:11 +01:00
Ross Lawley
08ba51f714
Updated geo_index checking to be recursive
...
Fixes #127 - Embedded Documents can declare geo indexes and have
them created automatically
2011-06-20 15:41:23 +01:00
Ross Lawley
e3cd398f70
Changed default collection naming
...
Also added upgrade text
2011-06-20 14:00:06 +01:00
Ross Lawley
1b0323bc22
Added document mixin support
...
For extendable / reusable documents
Fixes #204
2011-06-20 09:44:53 +01:00
Ross Lawley
99f923e27f
Fixed queryset repr mid iteration
...
Closes #144
2011-06-17 15:04:07 +01:00
Ross Lawley
5e7efcc8c2
Added 'hint' support, telling Mongo the proper index to use for the query.
...
Judicious use of hints can greatly improve query performance. When doing a query
on multiple fields (at least one of which is indexed) pass the indexed field as
a hint to the query. Hinting will not do anything if the corresponding index
does not exist. The last hint applied to this cursor takes precedence over all
others.
Closes #203
2011-06-17 12:43:28 +01:00