Ross Lawley
e80144e9f2
Added multidb support
...
No change required to upgrade to multiple databases. Aliases are used
to describe the database and these can be manually registered or fall
through to a default alias using connect.
Made get_connection and get_db first class members of the connection class.
Old style _get_connection and _get_db still supported.
Refs: #84 #87 #93 #215
2011-11-22 08:01:14 -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
Ross Lawley
5aeee9deb2
Added PIL to spec file
...
[#314 ]
2011-11-04 01:55:46 -07:00
Ross Lawley
4c1509a62a
Updated docs re choices
...
[#284 ] [#314 ]
2011-11-04 01:54:30 -07:00
Ross Lawley
bfdaae944d
Merge branch 'dev' of github.com:hmarr/mongoengine into dev
2011-11-04 01:46:45 -07:00
Ross Lawley
4e44198bbd
Clean up of choices code and added tests
...
[#284 ] [#314 ]
2011-11-04 01:45:44 -07:00
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
Ross Lawley
81bf5cb78b
Merge pull request #348 from wpjunior/patch-2
...
fixes for __repr__ documents
2011-11-02 04:54:08 -07: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
59bd72a888
Added tests for __repr__ fix
2011-11-01 02:15:31 -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
ecdf2ae5c7
Updated docs and Authors
2011-11-01 01:20:47 -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
Ross Lawley
7cd22aaf83
Removed debug print
2011-10-27 01:18:32 -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
c42aef74de
Merge pull request #326 from wpjunior/fixes-325
...
Fixes for #325 issue - Thanks @wpjunior
2011-10-27 00:33:36 -07:00
Ross Lawley
634e1f661f
Updated docs / upgrade notes
2011-10-27 00:31:48 -07:00
Ross Lawley
52d4ea7d78
Merge pull request #316 from wpjunior/fixes-315
...
Fixes for #315 issue
2011-10-25 03:47:19 -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
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
24b8650026
Merge remote branch 'origin/dev' into dev
2011-10-12 00:18:37 -07:00
Ross Lawley
269e6e29d6
Updated Authors
2011-10-12 00:18: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
8797565606
UPdated changelog
2011-10-08 08:13:53 -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
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
e1fc15875d
Merge remote branch 'origin/dev' into dev
2011-10-04 03:10:10 -07:00
Ross Lawley
94ae1388b1
Updated .gitignore
2011-10-04 02:59:00 -07:00
Ross Lawley
17728d4e74
Added tests for empty lists
2011-10-04 02:57:50 -07:00
Ross Lawley
417aa743ca
Merge pull request #304 from linuxnow/integration/specfile
...
Add spec file for rpm-based distributions
2011-10-04 02:27:05 -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
1a2c74391c
Added grubberr to AUTHORS
...
[Refs #296 ]
2011-10-03 05:18:25 -07:00
Ross Lawley
823cf421fa
Fixes to circular references.
...
Removes infinite looping
refs #294
2011-09-29 14:07:30 -07:00
Ross Lawley
3799f27734
Merge branch 'master' of https://github.com/kuno/mongoengine into kuno
2011-09-28 01:51:06 -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
1af54f93f5
Merge pull request #287 from wpjunior/fixitem_frequencies
...
Fix item_frequencies
2011-09-20 06:04:30 -07:00
Ross Lawley
f7fbb3d2f6
Relaxed field name checking on embedded documents
2011-09-20 03:45:11 -07:00
Ross Lawley
89c44cd14e
Added missing fields to the api documentation
2011-09-11 08:09:16 +01:00
Ross Lawley
8105bfd8b3
Updated changelog for 0.5 release
2011-09-10 13:00:34 +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
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
dd49d1d4bb
Added choices note to upgrade docs
2011-08-24 13:37:20 +01:00
Ross Lawley
d6c54c7c2a
Merge remote branch 'origin/dev' into dev
2011-08-18 08:32:33 +01:00
Ross Lawley
bda716ef9d
Improved update in test case for removing inheritance
2011-08-18 08:30:52 +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
91a0e499d9
Updated changelog and authors
...
Refs #263
2011-08-17 21:48:41 +01: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
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
Ross Lawley
8071b23bff
Updated upgrade.rst
2011-08-17 14:17:06 +01:00
Ross Lawley
4bfed7e719
Merge pull request #259 from wpjunior/moretests
...
More tests for ListField(EmbeddedDocumentField
2011-08-17 06:14:52 -07:00
Ross Lawley
3c8cbcfee7
Added tests for showing how to set embedded document indexes
...
refs #257
2011-08-16 16:50:50 +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
8bdb42827c
Updated AUTHORS
...
Thanks to all those that have contributed to MongoEngine
2011-08-16 11:33:41 +01: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
Ross Lawley
672a5f190b
Merge pull request #255 from colinhowe/dev
...
check for presence of _geo_indices on field class before referencing
2011-08-15 06:39:38 -07:00
Ross Lawley
c4db3b6cf2
Merge pull request #247 from spantaleev/double-save-fix
...
Prevent double saving when doing a forced insert.
2011-08-15 02:28:59 -07:00
Ross Lawley
2b1eb620fc
Merge pull request #253 from wpjunior/listreferences
...
Dereference fails (allow_inheritance = False)
2011-08-15 02:27:40 -07:00
Ross Lawley
048826f6f0
Merge pull request #252 from wpjunior/djangotranslations
...
Django translation for auth.py
2011-08-15 01:15:28 -07:00
Ross Lawley
3f3f93b0fa
Fixing delta bug for dict fields
2011-07-29 15:48:29 +01:00
Ross Lawley
e3cbeb9df0
Merge pull request #243 from wpjunior/sequencefield_fixes
...
Sequencefield fixes
2011-07-22 06:34:43 -07:00
Ross Lawley
ac72722e57
Fixing bug setting a value that equates to false
2011-07-22 13:51:11 +01:00
Ross Lawley
72aa191e70
Stop abstract classes being used in the document_registry
2011-07-20 11:58:13 +01:00
Ross Lawley
0d1804461d
Updated handling setting of object managers and inheritance
2011-07-19 22:12:09 +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
5eb895b952
Merge remote branch 'origin/dev' into feature/sequence_field
2011-07-19 16:04:42 +01:00
Ross Lawley
d5fb3a9167
Merge pull request #240 from wpjunior/db_field_fixes
...
Awesome - scarily similar to the patch I started!
2011-07-19 07:37:57 -07:00
Ross Lawley
bbd3a6961e
Fixed typo in tutorial
...
[closes #235 ] Thanks @mulka
2011-07-18 08:35:29 +01:00
Ross Lawley
6eb0387a78
Merge pull request #234 from dcrosta/get-or-404
...
Get or 404 now handles validation errors as well.
Thanks @dcrosta
2011-07-14 22:38:46 -07:00
Ross Lawley
72995a4b3e
Fixed changing default values to False for embedded items
2011-07-13 16:06:40 +01:00
Ross Lawley
7395ce5b22
Updating changelog
2011-07-13 16:05:17 +01:00
Ross Lawley
a4c197a83c
Added update() convenience method to a document
...
Thanks to @dcrosta for the initial code
[closes #229 ]
2011-07-13 14:15:46 +01:00
Ross Lawley
7a3412dc13
Added helper for reseting the index cache
2011-07-13 09:54:41 +01:00