Commit Graph

  • ba01817ee3 Merge branch 'master' of http://github.com/vandersonmota/mongoengine into v0.4 Harry Marr 2010-08-30 13:34:43 +01:00
  • 1e1d7073c8 Merge remote branch 'hmarr/v0.4' Florian Schlachter 2010-08-30 14:33:04 +02:00
  • 40eb23a97a Merge branch 'master' of git://github.com/flosch/mongoengine into v0.4 Harry Marr 2010-08-30 13:21:10 +01:00
  • f4711699e4 Merge branch 'master' of http://github.com/danielhasselrot/mongoengine into v0.4 Harry Marr 2010-08-30 13:03:23 +01:00
  • 3b62cf80cd Fixed {Dict,List}Field default issue. Closes #46. Harry Marr 2010-08-30 13:00:34 +01:00
  • d99c5973c3 Fixed Q object DBRef test bug Harry Marr 2010-08-30 12:52:24 +01:00
  • 7de9adc6b1 Adding support for pop operations to QuerySet.update and QuerySet.update_one Richard Henry 2010-08-28 09:16:02 +01:00
  • 17addbefe2 made it more like Django's user model sp 2010-08-18 16:50:52 -04:00
  • d274576b47 Fixed premature return for query gen Greg Turner 2010-08-13 22:30:36 +10:00
  • 6373e20696 Better error reporting on a validation error for a list. Greg Turner 2010-08-13 22:28:26 +10:00
  • 809fe44b43 Added a __raw__ parameter for passing query dictionaries directly to pymongo Greg Turner 2010-08-12 15:14:20 +10:00
  • 198ccc028a made list queries work with regexes (e.g. istartswith) Greg Turner 2010-08-06 20:29:09 +10:00
  • b96e27a7e4 Allow documents to override the 'objects' QuerySetManager Theo Julienne 2010-07-30 22:09:00 +10:00
  • 1147ac4350 ignore virtualenv directory Timothée Peignier 2010-05-23 00:19:50 +08:00
  • 21d267cb11 Now order_by() works like queries for referencing deeper fields (replacing . with __). old: order_by('mydoc.myattr') / new: order_by('mydoc__myattr'). Closes #45 flosch 2010-07-26 17:28:59 +02:00
  • 6791f205af Style fix. flosch 2010-07-26 16:50:09 +02:00
  • 7ab2e21c10 Handle unsafe expressions when using startswith/endswith/contains with unsafe expressions. Closes #58 flosch 2010-07-26 16:42:10 +02:00
  • 2f991ac6f1 Added all() method to get all document instances from a document. Extended the FileField's tests with testing on empty filefield. flosch 2010-07-25 19:02:15 +02:00
  • 9411b38508 Removed unnecessary comment. flosch 2010-07-25 18:45:49 +02:00
  • 386c48b116 Typo. flosch 2010-07-25 18:43:11 +02:00
  • 9d82911f63 Added tests for #46. flosch 2010-07-25 18:38:24 +02:00
  • 51065e7a4d Closes #46 by instantiating a new default instance for every field by request. flosch 2010-07-25 18:33:33 +02:00
  • 327452622e Handle DBRefs correctly within Q objects. Closes #55 flosch 2010-07-25 18:22:26 +02:00
  • 13316e5380 Introduced new Document.objects.create, like django has. It creates a new object, saves it and returns the new object instance. flosch 2010-07-25 17:35:09 +02:00
  • 9f98025b8c Added QuerySet.distinct. Closes #44. Harry Marr 2010-07-25 15:29:02 +01:00
  • 564f950037 Merge branch 'master' of git://github.com/flosch/mongoengine into v0.4 Harry Marr 2010-07-25 15:09:45 +01:00
  • be651caa68 Removed a couple of sneaky print statements Harry Marr 2010-07-25 15:02:37 +01:00
  • aa00feb6a5 FileField's values are now optional. When no value is applied, no File object is created and referenced. Florian Schlachter 2010-07-20 22:46:00 +02:00
  • 03c0fd9ada Make default value of DictField an empty dict instead of None. Florian Schlachter 2010-07-19 19:01:53 +02:00
  • 6093e88eeb Made list store empty list by default Daniel Hasselrot 2010-07-16 00:20:29 +08:00
  • ec519f20fa Makes the tests compatible to pymongo 1.7+. Not backwards compatible! Florian Schlachter 2010-07-19 01:32:28 +02:00
  • d3495896fa Merge branch 'master' of github.com:flosch/mongoengine Florian Schlachter 2010-07-19 01:12:16 +02:00
  • 323c86308a Merge remote branch 'hmarr/v0.4' Florian Schlachter 2010-07-19 01:11:28 +02:00
  • f9057e1a28 Fixed bug in FileField, proxy was not getting the grid_id set martin 2010-06-24 00:56:51 +08:00
  • 9596a25bb9 Fixed documentation bug. Florian Schlachter 2010-07-19 00:56:16 +02:00
  • 47bfeec115 Tidied code, added replace() method to FileField Steve Challis 2010-06-03 15:27:21 +08:00
  • 6bfd6c322b Fixed bug with GeoLocationField martin 2010-06-18 10:41:23 +08:00
  • 0512dd4c25 Added new FileField with GridFS support Steve Challis 2010-06-03 03:53:39 +08:00
  • acbc741037 Made list store empty list by default Daniel Hasselrot 2010-07-15 18:20:29 +02:00
  • c2163ecee5 Added test for Geo indexes Harry Marr 2010-07-07 15:12:14 +01:00
  • 71689fcf23 Got within_box working for Geo fields Harry Marr 2010-07-07 15:00:46 +01:00
  • 1c334141ee Merge branch 'geo' of git://github.com/blackbrrr/mongoengine into v0.4 Harry Marr 2010-07-07 14:53:25 +01:00
  • b89d71bfa5 Do not convert None objects Daniel Hasselrot 2010-07-06 14:17:30 +02:00
  • 3179c4e4ac Now only removes _id if none, for real Daniel Hasselrot 2010-07-06 11:25:49 +02:00
  • f5e39c0064 Allowed _id to be missing when converting to mongo Daniel Hasselrot 2010-07-06 10:25:31 +02:00
  • 86e2797c57 added a TestCase for tests that uses mongoDB vandersonmota 2010-06-09 22:28:30 -03:00
  • 39b749432a Tidied code, added replace() method to FileField Steve Challis 2010-06-03 08:27:21 +01:00
  • 0ad343484f Added new FileField with GridFS support Steve Challis 2010-06-02 20:53:39 +01:00
  • 196606438c Fixed Q-object list query issue Harry Marr 2010-05-30 18:34:06 +01:00
  • 6896818bfd Added docs for exact, iexact Harry Marr 2010-05-30 17:40:01 +01:00
  • eb4f0ad7fb Merge branch 'master' of git://github.com/hmarr/mongoengine Flavio Amieiro 2010-05-29 11:52:08 -03:00
  • 467e61bcc1 Documentation fix Harry Marr 2010-05-28 02:28:42 +01:00
  • a2c78c9063 Add 'exact' and 'iexact' match operators for QuerySets Flavio Amieiro 2010-05-26 20:24:57 -03:00
  • b23353e376 Fixed inherited document primary key issue Harry Marr 2010-05-24 23:03:30 +01:00
  • b8e9790de3 Merge branch 'master' of git://github.com/flosch/mongoengine Harry Marr 2010-05-22 15:59:41 +01:00
  • e37e8d9e65 Merge branch 'master' of git://github.com/blackbrrr/mongoengine Harry Marr 2010-05-22 15:53:54 +01:00
  • f657432be3 always ignore empty Q objects, if the new Q is empty, the old one will be returned. Stephan Jaekel 2010-05-14 14:35:27 +02:00
  • 80c2895e56 Merge branch 'master' of http://github.com/flosch/mongoengine Stephan Jaekel 2010-05-14 14:22:29 +02:00
  • 88da998532 added test for empty Q objects Stephan Jaekel 2010-05-14 14:21:58 +02:00
  • 225972e151 Added some handy shortcuts for django users. Stephan Jaekel 2010-05-14 14:03:18 +02:00
  • 4972bdb383 ignore empty Q objects when combining Q objects. Stephan Jaekel 2010-05-14 14:02:39 +02:00
  • 11c7a15067 Added test for DictField's basecls. Florian Schlachter 2010-05-14 13:49:13 +02:00
  • 9df725165b Added a possibility to define a base class for fields from a DictField (instead of using BaseField). This is important if you want to use field-based query abilities like StringField's startswith/endswith/contains. Just define `basecls´ when defining your DictField. Example: Florian Schlachter 2010-05-14 13:35:45 +02:00
  • 682326c130 documentation bug fixed Florian Schlachter 2010-04-30 18:04:58 +02:00
  • 86575cb035 can't use unicode strings for __init__ kwargs Matt Dennewitz 2010-04-19 09:39:03 -05:00
  • eecc6188a7 fixes issue #41 since unicode kwargs is an feature of python 2.6.5 and above. Florian Schlachter 2010-04-19 11:34:09 +02:00
  • 3b4df4615a Fixed MRO error that occured on document inheritance Harry Marr 2010-04-17 21:45:11 +01:00
  • edfda6ad5b BinaryField returns str not unicode Harry Marr 2010-04-17 21:24:06 +01:00
  • 3c7e8be2e7 Removed create_default since it can be achieved with the default argument (like default=MyEmbeddedDocument since default takes callables too). Florian Schlachter 2010-04-17 16:59:09 +02:00
  • 416fcba846 Merge remote branch 'hmarr/master' Florian Schlachter 2010-04-17 01:42:26 +02:00
  • e196e229cd Accepting a tuple for validation argument. Florian Schlachter 2010-04-17 01:36:45 +02:00
  • da57572409 Introduced new create_default field argument. If set to true, mongoengine will automagically create an instance of the desired document class (useful if using EmbeddedDocumentField for example): Florian Schlachter 2010-04-17 01:23:14 +02:00
  • ef172712da bugfix Florian Schlachter 2010-04-16 22:25:45 +02:00
  • 170c56bcb9 introduced min_length for a StringField Florian Schlachter 2010-04-16 18:13:11 +02:00
  • f3ca9fa4c5 Make validation-lists possible. Example: Florian Schlachter 2010-04-16 18:00:51 +02:00
  • 48facec524 Fixes tiny documentation error. Adds possibility to add custom validation methods to fields, e. g.: Florian Schlachter 2010-04-16 16:59:34 +02:00
  • ee0c75a26d Add choices keyword argument to BaseField.__init__() Don Spaulding 2010-04-15 17:59:35 -05:00
  • e9c92f30ba Add description of each of the keyword arguments to BaseField.__init__(), adds description for choices too. Don Spaulding 2010-04-15 17:57:23 -05:00
  • 0a074e52e0 Merge remote branch 'hmarr/master' Florian Schlachter 2010-04-15 23:10:34 +02:00
  • da3f4c30e2 Fix doc typos Don Spaulding 2010-04-14 22:40:56 -05:00
  • 2b08ca7c99 Merge branch 'SortedListField' of git://github.com/joshourisman/mongoengine Harry Marr 2010-04-12 17:41:09 +01:00
  • c8e466a160 Moved SortedListField stuff into its own branch Josh Ourisman 2010-04-12 12:31:52 -04:00
  • a39685d98c make get_or_create returns a tuple with the retrieved or created object and a boolean specifying whether a new object was created Timothée Peignier 2010-04-11 20:14:32 +02:00
  • 90200dbe9c Fixed DecimalField bug Harry Marr 2010-04-12 15:59:20 +01:00
  • 2304dac8e3 added GeoLocationField with auto index-creation for GEO2D Florian Schlachter 2010-03-30 00:04:39 +02:00
  • 38b2919c0d added emailfield Florian Schlachter 2010-03-29 22:02:33 +02:00
  • 207fd9fcb7 keeping import policy in mind Deepak Thukral 2010-03-29 11:27:50 +02:00
  • fbcf58c48f updated documentation Deepak Thukral 2010-03-29 11:25:17 +02:00
  • 8f4a579df9 DoesNotExist and MultipleObjectsReturned now contributes Document class Deepak Thukral 2010-03-28 22:22:36 +02:00
  • 600ca3bcf9 renamed 'test_near' to 'test_geospatial_operators', updated added ordering checks to test Matt Dennewitz 2010-03-23 00:57:26 -05:00
  • a4d2f22fd2 added 'geo_indexes' to TopLevelDocumentMetaclass; added GeoPointField, a glorified [lat float, lng float] container; added geo lookup operators to QuerySet; added initial geo tests Matt Dennewitz 2010-03-23 00:14:01 -05:00
  • 00c8d7e6f5 Bump to v0.3 v0.3 Harry Marr 2010-03-17 16:50:13 +00:00
  • 0d89e967f2 Merge branch 'mapreduce' of git://github.com/blackbrrr/mongoengine Harry Marr 2010-03-17 16:44:24 +00:00
  • 447f8d0113 MapReduceDocument.object works with custom primary keys. test included. blackbrrr 2010-03-17 11:31:17 -05:00
  • 60802796cb Made ListField validation exceptions more helpful Harry Marr 2010-03-17 15:10:10 +00:00
  • 5b42578cb1 Added ~ field name substitution to mapreduce funcs Harry Marr 2010-03-17 14:06:31 +00:00
  • 25a0a5364a Deprecated 'name' arg for fields in favour of 'db_field' Harry Marr 2010-03-17 13:47:23 +00:00
  • 047cc218a6 Merge branch 'mapreduce' of git://github.com/blackbrrr/mongoengine Harry Marr 2010-03-17 12:31:08 +00:00
  • 39fc862676 Merge branch 'upsert' of git://github.com/blackbrrr/mongoengine Harry Marr 2010-03-17 12:30:18 +00:00
  • f47d926f29 touched up comments in advanced map/reduce test blackbrrr 2010-03-17 00:56:34 -05:00