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
4d5f602ee7
Bumped the version
2011-10-12 00:31:02 -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
c4b0002ddb
Fixed typo
2011-10-11 14:59:58 +02:00
Ross Lawley
53598781b8
Facepalm - mutable default argument in method..
2011-10-11 12:44:41 +02: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
5fb9d61d28
Merge remote branch 'origin/dev' into dev
2011-10-11 00:15:23 -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
3d97c41fe9
Merge pull request #305 from linuxnow/integration/error_msgs
...
Add field name to validation exception messages
2011-10-08 08:13:40 -07:00
Ross Lawley
5edfeb2e29
Merge pull request #303 from linuxnow/integration/uuid
...
Add UUIDField
2011-10-08 08:08:45 -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
591149b1f0
Bumped version for 0.5.1 release
2011-10-08 07:31:24 -07:00
Ross Lawley
9a0a0b1bd4
Ported bugfix for circular references regression
...
Refs #294
2011-10-08 07:29:12 -07:00
Marc Tamlyn
219d316b49
Fix iteration on querysets.
...
If iteration of a queryset was interrupted (by a break, or a caught
error), the next iterator would start from the second element as the
cursor had already moved to the first. This is fixed by adding a rewind
into the __iter__ method.
2011-10-05 13:26:57 +01:00
Pau Aliagas
3aa2233b5d
Add field name to exception messages
2011-10-04 18:35:32 +02:00
Pau Aliagas
d59862ae6e
Merge remote-tracking branch 'upstream/dev' into integration/uuid
2011-10-04 16:02:58 +02:00
Ross Lawley
6961a9494f
Updates to ComplexFields
...
Required now means they cannot be empty [#302 ]
2011-10-04 04:26:56 -07:00
Pau Aliagas
bec6805296
Add UUIDField
2011-10-04 10:20:41 +02:00
Pau Aliagas
d99c7c20cc
Don't allow empty lists when they are required
...
When using ListField, an empty list is added as the default value.
But when you mark this field as required, you expect it not to be empty,
so this patch makes sure that this is duly checked.
2011-10-04 10:12:21 +02:00
Pau Aliagas
9b4d0f6450
Make sure that ListFields are not strings
2011-10-03 05:29:24 -07:00
Sergey Chvalyuk
08288e591c
small optimizing fix
2011-10-03 05:16:17 -07:00
Ross Lawley
823cf421fa
Fixes to circular references.
...
Removes infinite looping
refs #294
2011-09-29 14:07:30 -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
Karim Allah
c081aca794
Fixing dereferencing when the dereferenced-document wasn't found.
2011-09-25 18:58:40 +02:00
Wilson Júnior
a9cacd2e06
fixed embedded null item_frequencies
2011-09-20 08:56:30 -03:00
Ross Lawley
f7fbb3d2f6
Relaxed field name checking on embedded documents
2011-09-20 03:45:11 -07:00
Karim Allah
adb7bbeea0
Being compatible with non-django style chioces
2011-09-18 19:48:33 +02:00
Ross Lawley
89c44cd14e
Added missing fields to the api documentation
2011-09-11 08:09:16 +01:00
Harry Marr
66c53f949b
Version bump to 0.5
2011-09-10 11:47:16 +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
b8a5791de6
Updates to documents
...
[#245 ]
2011-09-09 14:33:27 +01:00
Ross Lawley
2bc3948726
Merge remote branch 'wpjunior/genericembeddedfield' into genericembeddedfield
2011-09-09 06:07:07 -07:00
Ross Lawley
ee7d370751
Bumped the version
2011-09-09 05:52:43 -07:00
Ross Lawley
a6449a7b2c
Updates to documentation in prep for 0.5
2011-09-09 05:45:56 -07:00
Ross Lawley
bc9a09f52e
Document updates
2011-09-09 04:21:32 -07:00
Ross Lawley
1631788ab6
Now Raise an exception if subclasses are missing at querytime.
...
Beats returning None thanks to #aid for mentioning it on IRC
2011-08-24 13:37:39 +01:00
Ross Lawley
d83d226396
Merge pull request #265 from dcrosta/keeptemp
...
Update docs for removal of keep_temp
2011-08-17 13:49:55 -07:00
Ross Lawley
f549d8c0bc
Merge pull request #263 from johnarnfield/dev
...
Added polygon support and unit tests
2011-08-17 13:46:40 -07:00
Dan Crosta
10c30f2224
remove keep_temp from map_reduce
...
fixes #258
2011-08-17 16:44:40 -04:00
Ross Lawley
11621c6f5a
Removed keeptemp from map_reduce as 0.5 requires pymongo 1.11
...
Closes #258
2011-08-17 21:38:46 +01:00
Ross Lawley
97ac7e5476
Remove old pymongo version checks
...
Closes #264
2011-08-17 21:34:35 +01:00
John Arnfield
10bc93dfa6
Commas help too :)
2011-08-17 20:15:47 +01:00
John Arnfield
88cb8f3963
left some conflict markers in - oops
2011-08-17 20:14:24 +01:00
John Arnfield
bd005575c4
Added geospatial polygon lookups & tests
2011-08-17 20:11:05 +01:00
Dan Crosta
5f05843403
prefer to use map-reduce to db.eval where possible
2011-08-16 08:20:06 -04:00
Ross Lawley
f6961ae9c1
Merge remote branch 'origin/dev' into dev
2011-08-16 10:33:38 +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
89ad7ef1ab
Merge branch 'dev' into feature/where
2011-08-16 09:54:56 +01:00