Commit Graph
95 Commits
Author SHA1 Message Date
Stefan WójcikandGitHub 5f43c032f2 revamp the "connecting" user guide and test more ways of connecting to a replica set (#1490) 2017-02-26 21:29:06 -05:00
Stefan Wojcik 627cf90de0 tutorial tweaks: better copy + use py3-friendly syntax 2017-02-26 20:30:37 -05:00
Stefan WójcikandGitHub e93a95d0cb Test and document controlling the size of the connection pool (#1489) 2017-02-25 14:09:10 -05:00
Stefan WójcikandGitHub 3f31666796 Fix the exception message when validating unicode URLs (#1486) 2017-02-24 16:18:34 -05:00
Stefan Wojcik 3fe8031cf3 fix EmbeddedDocumentListFieldTestCase 2017-02-22 12:44:05 -05:00
Stefan Wojcik ed34c2ca68 update the changelog and upgrade docs 2017-02-09 12:13:56 -08:00
Stefan WójcikandGitHub 3ca2e953fb Fix limit/skip/hint/batch_size chaining (#1476) 2017-02-09 12:02:46 -08:00
Stefan Wojcik f33cd625bf nicer readme 2017-01-17 02:47:45 -05:00
Stefan Wojcik 80530bb13c nicer readme 2017-01-17 02:46:37 -05:00
Stefan WójcikandGitHub affc12df4b Update README.rst 2017-01-17 02:43:29 -05:00
Stefan Wojcik 4eedf00025 nicer readme note about dependencies 2017-01-17 02:42:23 -05:00
Stefan Wojcik 1b6743ee53 add a changelog entry about broken references raising DoesNotExist 2017-01-08 14:50:16 -05:00
Stefan WójcikandGitHub ebd34427c7 Cleaner Document.save (#1458) 2016-12-30 05:43:56 -05:00
Stefan WójcikandGitHub 3d75573889 Validate db_field (#1448) 2016-12-29 12:39:05 -05:00
Stefan WójcikandGitHub c6240ca415 Test connection's write concern (#1456) 2016-12-29 12:37:38 -05:00
Stefan WójcikandGitHub 2ee8984b44 add a $rename operator (#1454) 2016-12-28 23:25:38 -05:00
Stefan Wojcik b7ec587e5b better docstring for BaseDocument.to_json 2016-12-28 22:15:46 -05:00
Stefan Wojcik 47c58bce2b fix "connect" example in the docs 2016-12-28 21:08:18 -05:00
Stefan Wojcik 96e95ac533 minor readme tweaks 2016-12-28 17:18:55 -05:00
Stefan Wojcik b013a065f7 remove readme mention of the irc channel 2016-12-28 11:50:28 -05:00
Stefan Wojcik 74b37d11cf only validate db_field if it's a string type 2016-12-28 11:46:18 -05:00
Stefan WójcikandGitHub c6cc013617 fix BaseQuerySet.fields when mixing exclusion/inclusion with complex values like $slice (#1452) 2016-12-28 11:40:57 -05:00
Stefan WójcikandGitHub f4e1d80a87 support a negative dec operator (#1450) 2016-12-28 02:04:49 -05:00
Stefan WójcikandGitHub 91dad4060f raise an error when trying to save an abstract document (#1449) 2016-12-28 00:51:47 -05:00
Stefan Wojcik e07cb82c15 validate db_field 2016-12-27 17:38:26 -05:00
Stefan Wojcik 2770cec187 better docstring for BaseQuerySet.fields 2016-12-27 10:20:13 -05:00
Stefan Wojcik 5c3928190a fix line width 2016-12-22 13:20:05 -05:00
Stefan Wojcik 96d20756ca remove redundant whitespace 2016-12-22 13:13:19 -05:00
Stefan Wojcik 553f496d84 fix tests 2016-12-13 00:42:03 -05:00
Stefan Wojcik b1d8aca46a update the changelog 2016-12-12 23:33:49 -05:00
Stefan Wojcik 8e884fd3ea make the __in=non_iterable_or_doc tests more concise 2016-12-12 23:30:38 -05:00
Stefan Wojcik 65914fb2b2 fix the way MongoDB URI w/ ?replicaset is passed 2016-12-12 23:24:19 -05:00
Stefan Wojcik a4d0da0085 update the changelog 2016-12-12 23:08:57 -05:00
Stefan WójcikandGitHub c9d496e9a0 Fix connecting to MongoReplicaSetClient (#1436) 2016-12-12 23:08:11 -05:00
Stefan Wojcik 88a951ba4f version bump 2016-12-12 19:03:21 -05:00
Stefan WójcikandGitHub 403ceb19dc set @wojcikstefan as the maintainer (closes #1342) (#1434) 2016-12-12 10:44:03 -05:00
Stefan WójcikandGitHub 835d3c3d18 Improve the health of this package (#1428) 2016-12-11 18:49:21 -05:00
Stefan Wojcik 6f5f5b4711 version bump (forgot to do it with v0.10.8 release, so have to go for v0.10.9) 2016-12-10 23:36:06 -05:00
Stefan Wojcik c6c5f85abb update the changelog with everything we've added in v0.10.8 2016-12-10 23:30:16 -05:00
Stefan WójcikandGitHub 7b860f7739 Deprecate Python v2.6 (#1430) 2016-12-10 13:29:31 -05:00
Stefan Wojcik e28804c03a add venv & venv3 to .gitignore 2016-12-10 13:11:37 -05:00
Stefan WójcikandGitHub 1b9432824b Add ability to filter the generic reference field by ObjectId and DBRef (#1425) 2016-12-09 12:56:06 -05:00
Stefan WójcikandGitHub f168682a68 Dont let the MongoDB URI override connection settings it doesnt explicitly specify (#1421) 2016-12-05 22:31:00 -05:00
Stefan WójcikandGitHub d25058a46d Implement BaseQuerySet.batch_size (#1426) 2016-12-05 22:13:22 -05:00
Stefan WójcikandGitHub 4d0c092d9f Fix iteration within iteration (#1427) 2016-12-05 09:38:24 -05:00
Stefan WójcikandGitHub 15714ef855 Fix __repr__ method of the StrictDict (#1424) 2016-12-04 16:10:59 -05:00
Stefan WójcikandGitHub eb743beaa3 fix doc.get_<field>_display + unit test inspired by #1279 (#1419) 2016-12-04 00:34:24 -05:00
Stefan WójcikandGitHub 0007535a46 Add support for cursor.comment (#1420) 2016-12-04 00:33:42 -05:00
Stefan WójcikandGitHub 8391af026c Fix filtering by embedded_doc=None (#1422) 2016-12-04 00:32:53 -05:00
Stefan WójcikandGitHub 800f656dcf remove unnecessary randomness in indexes tests (#1423) 2016-12-04 00:31:54 -05:00
Stefan Wojcik 088c5f49d9 update the changelog 2016-12-03 16:32:14 -05:00
Stefan Wojcik 999cdfd997 Fix BaseQuerySet#sum and BaseQuerySet#average for fields that specify a db_field 2016-12-02 11:32:38 -05:00
Stefan Wojcik 2b7417c728 add a missing entry to the changelog 2016-11-28 19:33:11 -05:00
Stefan WójcikandGitHub 3c455cf1c1 Improve health of this package (#1409)
* added flake8 and flake8-import-order to travis for py27

* fixed a test that fails from time to time depending on an order of a dict

* flake8 tweaks for the entire codebase excluding tests
2016-11-28 19:00:34 -05:00
Stefan WójcikandGitHub 5135185e31 Use SVG in README badges 2016-11-28 12:31:50 -05:00
Stefan Wojcik b461f26e5d version bump 2016-11-28 10:42:05 -05:00
Stefan Wojcik faef5b8570 finalize the v0.10.7 changelog 2016-11-28 10:40:20 -05:00
Stefan Wojcik d19bb2308d add #1389 to the changelog 2016-11-24 09:40:17 -05:00
Stefan Wojcik dd473d1e1e remove v3.2 from .travis.yml 2016-10-19 18:15:15 -04:00
Stefan Wojcik d2869bf4ed Merge branch 'master' of github.com:MongoEngine/mongoengine into dont-test-on-py-32 2016-10-19 18:13:41 -04:00
Stefan Wojcik d9e4b562a9 for good measure, remove py32 from the commented-out envlist, too 2016-10-19 16:30:39 -04:00
Stefan Wojcik fb3243f1bc readme fix 2016-10-19 16:23:48 -04:00
Stefan Wojcik 5fe1497c92 remove rednose from tox deps 2016-10-19 16:14:02 -04:00
Stefan Wojcik 5446592d44 remove rednose to see if it masks another issue 2016-10-19 16:05:59 -04:00
Stefan Wojcik 40ed9a53c9 dont run tests for python 3.2 2016-10-19 15:43:07 -04:00
Stefan Wojcik 6148a608fb update the changelog 2016-07-11 10:45:40 -07:00
Stefan Wojcik 3fa9e70383 prefer tuples over lists for immutable structures 2016-07-11 10:42:27 -07:00
Stefan Wojcik 16fea6f009 replace QuerySet.sum/average implementations with aggregate_sum/average + tweaks 2016-07-10 13:21:12 -07:00
Stefan Wojcik f750796444 fix typo 2016-05-04 17:11:38 -07:00
Stefan Wojcik 54975de0f3 fix read_preference for PyMongo 3+ 2015-11-23 10:46:52 -08:00
Stefan Wojcik a7aead5138 re-create the cursor object whenever we apply read_preference 2015-11-23 10:46:52 -08:00
Stefan Wojcik b7ef82cb67 style tweaks + changelog entry 2015-06-18 11:02:11 -07:00
Stefan Wojcik 1233780265 make aggregate_sum/average compatible with pymongo 3.x 2015-06-18 11:01:37 -07:00
Stefan Wojcik dd095279c8 aggregate_sum/average + unit tests 2015-06-18 11:01:37 -07:00
Stefan Wojcik 9bdc320cf8 dont send a "cls" option to ensureIndex (related to https://jira.mongodb.org/browse/SERVER-769) 2015-05-06 11:25:45 +02:00
Stefan Wojcik 9ae2c731ed dont drop any system collections 2015-03-03 14:30:09 -08:00
Stefan WojcikandRoss Lawley 5e776a07dd allow ordering to be cleared 2014-06-27 09:58:49 +01:00
Stefan Wojcik 1eacc6fbff clear ordering via empty order_by 2014-05-30 15:08:03 -07:00
Stefan Wojcik abcacc82f3 dont use a system collection 2014-05-21 22:21:46 -07:00
Stefan Wojcik 89785da1c5 fix validation for a nested DictField 2013-09-16 23:50:13 -07:00
Stefan Wojcik a7ca9950fc potential fix for dereferencing nested lists 2013-06-11 15:36:35 -07:00
Stefan Wojcik e0dd33e6be move the test into a more appropriate location 2013-06-11 12:18:03 -07:00
Stefan Wojcik 2e718e1130 unit test showing the problem 2013-06-11 12:00:59 -07:00
Stefan Wojcik ba7101ff92 list_indexes support for multiple inheritance 2013-06-06 22:22:43 -07:00
Stefan Wojcik a2457df45e make sure to only search for indexes in base classes inheriting from TopLevelDocumentMetaclass 2013-06-06 19:14:21 -07:00
Stefan Wojcik 305540f0fd better comment 2013-06-06 17:21:27 -07:00
Stefan Wojcik c2928d8a57 list_indexes and compare_indexes class methods + unit tests 2013-06-06 17:16:03 -07:00
Stefan Wojcik eba81e368b dont use $in for _cls queries with a single subclass 2013-06-04 15:32:23 -07:00
Stefan Wojcik 4670f09a67 fix __set_state__ 2013-05-27 13:48:02 -07:00
Stefan Wojcik 774895ec8c dont simplify queries with duplicate conditions 2013-05-23 17:49:28 -07:00
Stefan Wojcik d060da094f update pickling test case to show the error 2013-05-20 17:40:56 -07:00
Stefan Wojcik f6d0b53ae5 test reference to a custom pk doc 2013-05-13 21:42:20 -07: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
Stefan Wojcik 148f8b8a3a Only allow QNode instances to be passed as query objects 2012-12-17 21:13:45 -08:00