668 Commits

Author SHA1 Message Date
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
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
b037fb3e21 Added version check to the polygon test to ensure server version >= 1.9 2011-08-17 21:23:40 +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
John Arnfield
ca3b004921 Added tests for polygon queries 2011-08-17 20:04:38 +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
Wilson Júnior
b76590dc01 more tests for embedded lists 2011-08-17 09:32:04 -03:00
Wilson Júnior
4e462ffdb5 Merge branch 'dev' of git://github.com/hmarr/mongoengine into dev 2011-08-17 09:24:17 -03: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
Dan Crosta
5f05843403 prefer to use map-reduce to db.eval where possible 2011-08-16 08:20:06 -04: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
Dan Crosta
81b69648ef docstring for where() 2011-08-15 16:56:51 -04: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
Wilson Júnior
447dd62c03 Merge branch 'dev' of git://github.com/hmarr/mongoengine into dev 2011-08-15 08:06:33 -03: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
Gareth Lloyd
4abfcb0188 check for presence of _geo_indices on field class before referencing 2011-08-15 10:01:48 +01:00
Ross Lawley
048826f6f0 Merge pull request #252 from wpjunior/djangotranslations
Django translation for auth.py
2011-08-15 01:15:28 -07:00
Wilson Júnior
5446476d99 Merge branch 'listreferences' of https://github.com/wpjunior/mongoengine into dev 2011-08-09 15:06:22 -03:00
Wilson Júnior
331f8b8ae7 fixes dereference for documents (allow_inheritance = False) 2011-08-09 14:31:26 -03:00
Wilson Júnior
63ee4fef1a Translations for django/auth.py 2011-08-05 11:03:47 -03:00
John Arnfield
376ca717fa Added support for within_polygon for spatial queries 2011-07-30 22:01:24 +01:00
Slavi Pantaleev
7913ed1841 Prevent double saving when doing a forced insert.
When doing save(force_insert=True) on a document missing an _id field,
the document was first getting inserted and then being saved a second
time.

Also refactatored the code a bit to make the intent
(insert/update/delta-update) cleaner, especially since
the `created` variable name was so confusing.
2011-07-30 00:52:37 +03: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
Wilson Júnior
130fb9916d fixes for SequenceField 2011-07-22 10:19:41 -03:00
Ross Lawley
ac72722e57 Fixing bug setting a value that equates to false 2011-07-22 13:51:11 +01:00
Wilson Júnior
382b9a61a8 Merge branch 'dev' of git://github.com/hmarr/mongoengine into db_field_maps_tweaks 2011-07-22 09:25:59 -03:00
Dan Crosta
13afead9fb add where() method to QuerySet 2011-07-20 12:41:20 -04: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