Ross Lawley
a4e8177b76
Merge branch 'master' of https://github.com/KarimAllah/mongoengine into choices
...
Conflicts:
mongoengine/base.py
2011-11-04 01:34:58 -07:00
Wilson Júnior
a9fc476fb8
fixed errors in repr if unicode string is found
2011-11-02 09:38:26 -02:00
Ross Lawley
26f0c06624
Merge branch 'get_or_create_optizations' of https://github.com/wpjunior/mongoengine into get_or_create_optimizations
2011-11-01 02:21:37 -07:00
Ross Lawley
7d808b483e
Merge branch 'master' of https://github.com/grubberr/mongoengine into slice
2011-11-01 02:14:44 -07:00
Ross Lawley
3ee60affa9
Renamed schema for errors
...
Now is `to_dict()` as is more explicit
[refs #344 #328 ]
2011-11-01 01:51:58 -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
aa9ed614ad
Merge branch 'master' of https://github.com/mjtamlyn/mongoengine into transform_update
2011-11-01 01:19:30 -07:00
Sergey Chvalyuk
1acdb880fc
fixing #336
2011-10-28 00:23:13 +03:00
Ross Lawley
5dc998ed52
Merge branch 'dev-bulkinsertsignal' of https://github.com/colinhowe/mongoengine into bulk
2011-10-27 01:13:59 -07:00
Wilson Júnior
8074094568
optimizations for get_or_create
2011-10-27 06:02:59 -02: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
c42aef74de
Merge pull request #326 from wpjunior/fixes-325
...
Fixes for #325 issue - Thanks @wpjunior
2011-10-27 00:33:36 -07:00
Nicolas Perriault
a1db437c42
got rid of assert for validation; ValidationError now extends AssertionError for BC purpose
2011-10-25 22:38:43 +02:00
Nicolas Perriault
b8e2bdc99f
simpler raising of ValidatioError
2011-10-25 20:04:39 +02:00
Nicolas Perriault
7db5335420
fixed URLField.validate() wasn't using BaseField.error() to raise a ValidationError
2011-10-25 10:53:58 +02:00
Nicolas Perriault
62480fe940
added a ValidatorError.schema properties which contains a dict representation of the whole validation error schema
2011-10-24 17:15:34 +02:00
Nicolas Perriault
3d7b30da77
first version of BC validation schema
2011-10-24 01:02:31 +02:00
Wilson Júnior
b09c52fc7e
fixes for #325 issue
2011-10-19 06:30:41 -02:00
Wilson Júnior
3d817f145c
fixes for #315 issue
2011-10-12 18:28:40 -03: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
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