Ross Lawley
ed2cc2a60b
Adding Jacob Peddicord to Authors
2012-03-05 16:20:37 +00:00
Ross Lawley
859e9b3cc4
Version bump
2012-03-05 16:16:37 +00:00
Ross Lawley
c34e79fad9
Fix replicaset connection
2012-03-05 16:15:06 +00:00
Ross Lawley
82446d641e
Updated the spec
2012-03-05 14:28:33 +00:00
Ross Lawley
9451c9f331
Updated Readme - points to readthedocs
2012-03-05 13:14:36 +00:00
Ross Lawley
7564bbdee8
Fix docs
2012-03-05 11:43:54 +00:00
Ross Lawley
69251e5000
Updated docs
2012-03-05 11:35:12 +00:00
Ross Lawley
6ecdc7b59d
Added FutureWarning for inherited classes not declaring allow_inheritance
...
Refs #437
2012-03-05 11:25:13 +00:00
Ross Lawley
b7d0d8f0cc
Added warning to SortedListField
2012-03-05 11:20:22 +00:00
Ross Lawley
df52ed1162
Merge pull request #449 from kajic/uri-fix
...
Uri connection fix
2012-03-05 00:23:18 -08:00
Ross Lawley
aa6370dd5d
Merge pull request #448 from kajic/delta-fix
...
Thanks Kajic
2012-03-05 00:23:04 -08:00
Ross Lawley
32fc4152a7
Enable covered indexes for simple documents.
...
Refs #444
2012-03-02 13:42:24 +00:00
Ross Lawley
bdf7187d5c
Added a limit to .get
2012-02-29 14:57:24 +00:00
Ross Lawley
1639576203
Bumped version
2012-02-29 12:05:47 +00:00
Ross Lawley
ae20c785ea
Updated docs
2012-02-29 12:04:43 +00:00
Ross Lawley
a2eb876f8c
No longer always upsert on save
...
closes #407
2012-02-29 11:39:10 +00:00
Ross Lawley
5a1eaa0a98
Updated new deref test
2012-02-29 11:23:43 +00:00
Ross Lawley
398fd4a548
Merge branch 'cleaned_dev' of https://github.com/Ankhbayar/mongoengine into test
2012-02-29 11:13:48 +00:00
Ross Lawley
44b9fb66e1
Updates must have an operation
...
Closes #387
2012-02-29 11:04:09 +00:00
Ross Lawley
2afa2171f9
Updated Changelog
2012-02-29 10:32:58 +00:00
Ross Lawley
1d7ea71c0d
DeReference is now used in a thread safe manner
...
No global / module instance is needed
Fixes #399
2012-02-29 10:31:33 +00:00
Ross Lawley
2a391f0f16
Raise an error if trying to perform a join
...
You can't join across reference fields, so raise an error
if someone tries to.
2012-02-29 10:10:51 +00:00
Ross Lawley
e9b8093dac
Updated changelog
2012-02-29 10:09:16 +00:00
Ross Lawley
6a229cfbc5
Updates can now take raw queries
2012-02-24 15:48:32 +00:00
Ross Lawley
3300f409ba
Update Authors and changelist
2012-02-24 10:34:51 +00:00
Ross Lawley
4466005363
Merge branch 'dev' of github.com:hmarr/mongoengine into dev
2012-02-24 10:29:06 +00:00
Ross Lawley
296ef5bddf
Merge branch 'geo2d' into dev
2012-02-24 10:28:52 +00:00
Ross Lawley
1f2a432e82
Merge pull request #439 from kajic/dev
...
register_connection bugfix
2012-02-24 02:12:55 -08:00
Ross Lawley
ece8d25187
Added replicaset connection support
...
Provide replicaSet=NAME in your connection.
fixes #423
2012-02-17 17:09:48 +00:00
Ross Lawley
589a720162
Updated changelog
2012-02-17 17:09:14 +00:00
Ross Lawley
a59b518cf2
Updates to imports for future pymongo 2.2
2012-02-17 11:18:25 +00:00
Ross Lawley
a15352a4f8
Merge branch 'dev' of github.com:hmarr/mongoengine into dev
2012-02-17 09:41:41 +00:00
Ross Lawley
df65f3fc3f
base no longer expects meta to have allow_inheritance
...
Closes #430 #431
2012-02-17 09:41:01 +00:00
Ross Lawley
088f229865
Merge pull request #421 from linuxnow/integration/dev
...
Integration/dev
2012-02-01 04:05:06 -08:00
Ross Lawley
0301135f96
Added uri style connection handling
2012-01-30 10:24:45 +00:00
Ross Lawley
f59aa922ea
Added more .scalar tests
2012-01-27 12:20:47 +00:00
Ross Lawley
f60a49d6f6
Added .scalar to Queryset
...
More efficient than the previous .values_list implementation Ref #393
Reverted some of the .values_list code thats no longer needed.
Closes #415
2012-01-27 11:45:12 +00:00
Ross Lawley
6bad4bd415
Merge pull request #412 from faulkner/dict-update
...
Add dict.update() support to BaseDict.
Thx Faulkner :)
2012-01-16 03:32:45 -08:00
Ross Lawley
12f884e3ac
Fixes typo in documents - thanks Shalabh
...
Closes #406
2012-01-16 09:11:00 +00:00
Ross Lawley
02b1aa7355
Added Ashwin Purohit to authors
...
Refs #410
2012-01-16 09:06:18 +00:00
Ross Lawley
90bfa608dd
Merge branch 'master' into dev
...
Conflicts:
docs/guide/signals.rst
python-mongoengine.spec
2012-01-16 09:05:38 +00:00
Ross Lawley
13f38b1c1d
Merge pull request #410 from purohit/master
...
typo fix
2012-01-16 01:04:29 -08:00
Ross Lawley
1afe7240f4
Fixed pagination limit / skip bug
...
fixes #398
2012-01-16 09:03:12 +00:00
Ross Lawley
39a20ea471
Merge pull request #403 from wpjunior/patch-5
...
Fixes for None values in QuerySet.values_list
2012-01-06 01:17:27 -08:00
Ross Lawley
de8da78042
Update docs/changelog.rst
2012-01-03 20:42:24 +00:00
Ross Lawley
318b42dff2
Merge pull request #393 from wpjunior/queryset_select
...
select method in Queryset
2012-01-03 12:40:49 -08:00
Ross Lawley
0018674b62
Update docs/changelog.rst
2012-01-03 20:37:33 +00:00
Ross Lawley
82913e8d69
Merge pull request #396 from wpjunior/mixin_inheritance
...
Mixin inheritance
2012-01-03 12:36:45 -08:00
Ross Lawley
6d9bfff19c
Started work on performance
...
Added an initial benchmark.py
Much more performant than 0.5.2 but still work todo.
2011-12-16 12:41:47 +00:00
Ross Lawley
7614b92197
Fixes super in BaseDict
...
Closes #395
2011-12-15 09:16:35 +00:00
Ross Lawley
2b3b3bf652
Prelim PyPy support
...
Refs: #392
2011-12-12 16:26:10 +00:00
Ross Lawley
11daf706df
Added Sharding support
...
Added shard_key meta, so save() and update() passes shard keys
to the pymongo query. Also made shard key fields immutable.
Closes #388 and #389
2011-12-12 16:13:19 +00:00
Ross Lawley
9b3899476c
Allow arbitary kwargs to be passed to pymongo
...
Fix pymongo 2.1+ check
Closes #390 closes #378
2011-12-12 09:14:50 +00:00
Ross Lawley
febb3d7e3d
Updated connection - so handles < pymongo 2.1
...
Updated docs
Refs #378
2011-12-09 08:39:50 -08:00
Ross Lawley
83e3c5c7d8
Updated connection for pymongo 2.1 support
...
closes #378
2011-12-09 08:26:39 -08:00
Ross Lawley
3c271845c9
Merge pull request #386 from wpjunior/patch-4
...
Custom db_alias support for MongoEngine DjangoSession
2011-12-07 07:56:43 -08:00
Ross Lawley
2531ade3bb
Added David to Authors
...
refs #380
2011-12-07 03:01:56 -08:00
Ross Lawley
3e2f035400
Abstract documents can now declare indexes
...
fixes #380
2011-12-07 02:15:50 -08:00
Ross Lawley
e7bcb5e366
Updated docs and Authors list re: db_alias
2011-12-07 01:46:11 -08:00
Ross Lawley
112e921ce2
Syntax cleaning
2011-12-07 01:34:36 -08:00
Ross Lawley
216f15602b
Fixing test
2011-12-07 01:17:35 -08:00
Ross Lawley
fbe1901e65
Added some tests #384
2011-12-07 01:16:45 -08:00
Ross Lawley
8d2bc444bb
db_alias using in model, queryset, reference fields, derefrence.
2011-12-07 01:16:36 -08:00
Ross Lawley
cf4a45da11
Dynamic Documents now support string query lookups
2011-12-06 06:38:25 -08:00
Ross Lawley
be78209f94
Added test showing you can add index for dynamic docs
2011-12-05 04:44:40 -08:00
Ross Lawley
45b5bf73fe
Added Jan to the contributors list
...
Refs #135 #381
2011-12-05 04:17:51 -08:00
Ross Lawley
84f9e44b6c
Fixed GridFS documents can now be pickled
...
Refs #135 #381
2011-12-05 04:16:57 -08:00
Ross Lawley
700bc1b4bb
Multiple fields with the same db_field now raises Exception
...
Closes #329
2011-12-02 08:44:15 -08:00
Ross Lawley
beef2ede25
Merge pull request #313 from linuxnow/integration/master
...
add .gitignore and spec file to master
2011-12-02 08:15:24 -08:00
Ross Lawley
9bfc838029
Updated Docs and bumped version
...
Hopefully nearer 0.6
closes #368
2011-12-02 08:14:25 -08:00
Ross Lawley
e9d7353294
Updated with_id to raise Error if used with a filter.
...
Closes #365
2011-12-02 07:11:06 -08:00
Ross Lawley
a6948771d8
Added ReferencField handling with .distinct()
...
Closes #356
2011-12-02 06:47:58 -08:00
Ross Lawley
403977cd49
Added test for saving references unnecessarily.
...
Refs #359
2011-12-02 06:40:57 -08:00
Ross Lawley
153538cef9
Added test for saving false on dynamic documents
...
Refs #282
Closes #311
2011-12-02 06:34:51 -08:00
Ross Lawley
9f1196e982
Merge branch 'dev' of github.com:hmarr/mongoengine into dev
2011-12-02 06:04:12 -08:00
Ross Lawley
6419a8d09a
Fixed False BooleanField marked as unset by _delta()
...
Closes #282
2011-12-02 06:03:15 -08:00
Ross Lawley
769cee3d64
Merge pull request #379 from wpjunior/patch-3
...
Small improvements for item_frequencies
2011-12-02 05:19:49 -08:00
Ross Lawley
ba59e498de
Custom __instancecheck__ no longer needed
...
Would be needed if calling a classmethod in __new__
but as we dont support reverse_delete_rules on embedded
documents there is no longer the need for it.
Refs #227
2011-12-02 02:52:06 -08:00
Ross Lawley
939bd2bb1f
Updated Documentation
2011-12-02 02:49:16 -08:00
Ross Lawley
e231f71b4a
EmbeddedDocuments dont support Reverse Delete Rules
...
Now throws an InvalidDocumentError
Refs #227
2011-12-02 02:46:55 -08:00
Ross Lawley
d06c5f036b
Cleaned up _transform_query
...
Refs #354 #376
2011-12-02 00:37:32 -08:00
Ross Lawley
071562d755
Fixed issue with dynamic documents deltas
...
Closes #377
2011-12-02 00:11:25 -08:00
Ross Lawley
391f659af1
Updated docs re: reverse delete rules
...
refs #254
2011-12-01 08:16:13 -08:00
Ross Lawley
8a44232bfc
Added Reverse Delete Rule support to ListFields
...
DictFields and MapFields aren't supported and raise an
InvalidDocument Error
Closes #254
2011-12-01 07:57:24 -08:00
Ross Lawley
9188f9bf62
Added custom cascade kwarg options
...
Allows the user to overwrite any default kwargs
Closes #295
2011-11-30 08:54:33 -08:00
Ross Lawley
0187a0e113
Handle updating and getting None values
...
Fixes updating a field to None, so it works in a similar
fashion as unsetting it via save()
Updated to handle null data from the database
Fixes #362
2011-11-30 08:12:44 -08:00
Ross Lawley
beacfae400
Removed use of _get_subclasses favouring get_document
...
_get_subclasses not actually required and causes issues
where Base Classes aren't imported but dont actually
need to be.
Fixes #271
2011-11-30 07:55:33 -08:00
Ross Lawley
fdc385ea33
Allow dynamic data to be deleted
...
Fixes #374
2011-11-30 03:06:46 -08:00
Ross Lawley
8b97808931
Added docs for elemMatch
2011-11-30 02:30:29 -08:00
Ross Lawley
179c4a10c8
Merge branch 'elemmatch' of https://github.com/wpjunior/mongoengine into elemmatch
2011-11-30 02:26:54 -08:00
Ross Lawley
6cef571bfb
Added Reverse option to SortedLists
...
Thanks Stephen Young for the patch
closes #364
2011-11-30 02:15:47 -08:00
Ross Lawley
fbe8b28b2e
Merge branch 'bug/318' into dev
...
Conflicts:
AUTHORS
2011-11-29 03:46:11 -08:00
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
8d7291506e
Updated Authors
2011-11-29 01:44:23 -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
083f00be84
Fixes passed in Constructor data for complexfields
...
Fixes #355
2011-11-28 08:09:17 -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
208a467b24
Added dictfield check for Int keys
...
Fixes #371
2011-11-28 07:05:54 -08:00