Commit Graph
1793 Commits
Author SHA1 Message Date
Ross Lawley a84ffce5a0 Merge remote-tracking branch 'origin/pr/272' 2013-04-12 10:55:09 +00:00
Ross Lawley 210b3e5192 Merge remote-tracking branch 'origin/pr/254' 2013-04-12 10:41:07 +00:00
Ross Lawley 5f1d5ea056 Try and fix wobbly test 2013-04-12 10:35:09 +00:00
Ross Lawley 19a7372ff9 Fix test_require for Django 2013-04-12 10:32:50 +00:00
Ross Lawley cc5b60b004 Updated pymongo versions and pillow wont work 2013-04-12 10:30:52 +00:00
Ross Lawley b06f9dbf8d Travis travis travis 2013-04-12 10:02:55 +00:00
Ross Lawley d9b8ee7895 next test 2013-04-11 15:47:53 +00:00
Ross Lawley e9ff655b0e Trying to fix travis 2013-04-11 15:00:49 +00:00
Ross Lawley d58341d7ae Fix doc generation path (#230)
Add Lukaszb to Authors
2013-04-11 13:15:17 +00:00
Ross Lawley 669d21a114 Merge pull request #241 from benoitlouy/fixing_travis_build
Fixing travis build
2013-04-11 04:51:51 -07:00
Kristinn Örn Sigurðsson 7e980a16d0 Don't run unset on IntField if the value is 0 (zero).
The IntField in unset if the IntField value doesn't validate to "truthify" (therefore, is
set as 0) and the default value of the IntField in question is 0.
This is not a logical functionality in my opinion. Take this example.
You have an IntField that is a counter which can be incremented and
decremented. This counter has the default value of 0 and is a required
field. Every time the counter reaches 0, the field is unset.
2013-04-05 11:01:46 +02:00
Kristinn Örn Sigurðsson 47df8deb58 Fix the implementation. 2013-04-04 17:30:21 +02:00
Kristinn Örn Sigurðsson dd006a502e Don't run unset on IntField if the value is 0 (zero). 2013-04-04 17:09:05 +02:00
bool.dev 782d48594a Fixes resolving to db_field from class field name, in distinct() query. 2013-04-04 09:02:30 +05:30
Alice Bevan-McGregor 07d3e52e6a Tests for construction using positional parameters. 2013-04-03 15:03:33 -04:00
Alice Bevan-McGregor fc1ce6d39b Allow construction of document instances using positional arguments. 2013-04-03 15:00:51 -04:00
Alice Bevan-McGregor 32d5c0c946 Store ordered list of field names, and return the ordered list when iterating a document instance. 2013-04-03 15:00:34 -04:00
Stefan Wojcik dfabfce01b show that order_by followed by limit works, but not the other way around 2013-04-01 17:17:01 -07:00
Stefan Wojcik 74f3f4eb15 more ordering unit tests 2013-04-01 16:17:17 -07:00
Paul Swartz 20cb0285f0 explicitly check for Document instances when dereferencing
In particular, `collections.namedtuple` instances also have a `_fields`
attribute which confuses the dereferencing.
2013-03-27 14:53:47 -04:00
Paul Swartz faf840f924 only mark a field as changed if the value has changed
Prevents spurious changes from being recorded.
2013-03-25 11:00:20 -04:00
Aleksandr Sorokoumov 165bea5bb9 QuerySet chaining test was supplemented with ReferenceField
chaining test
2013-03-18 12:32:49 +01:00
Aleksandr Sorokoumov f7515cfca8 add myself to AUTHORS 2013-03-18 12:22:55 +01:00
Jaepil Jeong a762a10dec Revert "Fixed potential overflow error."
This reverts commit 67182713d9.
2013-03-18 19:30:04 +09:00
Aleksandr Sorokoumov a192029901 ReferenceField query chaining bug fixed. 2013-03-16 16:54:26 +01:00
Jaepil Jeong 67182713d9 Fixed potential overflow error. 2013-03-15 00:12:48 +09:00
Jaepil Jeong e9464e32db Added test cases for LongField. 2013-03-14 23:59:50 +09:00
Jaepil Jeong 2d6ae16912 Added LongField to support 64-bit integer type. 2013-03-14 23:25:22 +09:00
Russ Weeks f9cd8b1841 added unit test for dereference patch 2013-03-12 12:45:38 -07:00
Russ Weeks 41a698b442 Changed dereference.py to keep tuples as tuples 2013-03-12 10:28:29 -07:00
Ross Lawley 9f58bc9207 Merge pull request #245 from zmolodchenko/patch-1
fix error reporting, where choices is list of flat values
2013-03-12 01:13:16 -07:00
zmolodchenko d36f6e7f24 fix error reporting, where choices is list of flat values 2013-03-09 21:08:10 +02:00
Ross Lawley eeb672feb9 Removing custom layout 2013-03-07 15:37:01 +00:00
Ross Lawley 063a162ce0 Merge branch 'master' of github.com:MongoEngine/mongoengine 2013-03-07 15:31:48 +00:00
Ross Lawley 3e4a900279 Adding google analytics 2013-03-07 15:25:18 +00:00
benoitlouy 43327ea4e1 Add testcase for issue #237 2013-03-01 07:38:28 -05:00
benoitlouy 0d2e84b16b Fix for issue #237: clearing changed fields recursively in EmbeddedDocuments after saving a Document 2013-02-28 00:37:34 -05:00
Benoit Louy 3c78757778 fix travis build: builds were failing because libz.so location changed. 2013-02-26 09:55:29 -05:00
Loic Raucy d0245bb5ba Fixed #238: dictfields handle numerical strings indexes. 2013-02-26 11:26:51 +01:00
Loic Raucy 3477b0107a Added regression test for numerical string keys. 2013-02-26 11:26:38 +01:00
Ross Lawley 8df9ff90cb Update LICENSE 2013-02-14 08:26:36 +00:00
hellysmile d6b4ca7a98 Fix docs quotes 2013-02-01 04:19:55 +02:00
hellysmile 2e18199eb2 Django sessions TTL support 2013-02-01 04:17:16 +02:00
Ross Lawley 025e17701b Fixed inner queryset looping (#204) 2013-01-29 10:33:13 +00:00
Ross Lawley 156ca44a13 Doc fix thanks to @jabapyth (#206) 2013-01-28 16:49:34 +00:00
Ross Lawley 39dac7d4db Fix file open rules 2013-01-28 16:26:01 +00:00
Ross Lawley 9ca632d518 Updated Save so it calls $set and $unset in a single operation (#211) 2013-01-28 16:00:38 +00:00
Ross Lawley 4177fc6df2 Can call del Doc.attr to delete field value 2013-01-28 15:57:33 +00:00
Ross Lawley d90890c08e Merge branch 'single-work-op' of https://github.com/njoyce/mongoengine into 211
Conflicts:
	mongoengine/document.py
	tests/test_document.py
2013-01-28 15:05:12 +00:00
Ross Lawley 1ca098c402 Fixed invalid choices error bubbling (#214) 2013-01-28 14:40:26 +00:00