Stefan Wojcik
689fe4ed9a
Revert "use a newer pypy3 ( https://github.com/travis-ci/travis-ci/issues/6277 )"
...
This reverts commit 944d1c0a4a .
2017-05-07 21:37:14 -04:00
Stefan Wojcik
b82d026f39
Revert "fix tox.ini"
...
This reverts commit c00914bea2 .
2017-05-07 21:37:05 -04:00
Stefan Wojcik
009059def4
revert #1497
2017-05-07 21:29:13 -04:00
Stefan Wójcik and GitHub
03ff61d113
better db_field validation ( #1547 )
2017-05-07 21:11:14 -04:00
Stefan Wojcik
c00914bea2
fix tox.ini
2017-05-07 20:32:52 -04:00
Stefan Wojcik
944d1c0a4a
use a newer pypy3 ( https://github.com/travis-ci/travis-ci/issues/6277 )
2017-05-07 19:54:58 -04:00
Stefan Wojcik
2cf23e33e3
Document._get_update_doc helper method
2017-05-07 19:26:10 -04:00
Stefan Wojcik
e2a0b42d03
clarify test_get_changed_fields_query_count
2017-04-30 18:29:22 -04:00
Stefan Wójcik and GitHub
894e9818ac
use an external sphinx rtd theme ( #1541 )
...
Externalize Sphinx RTD theme
2017-04-30 15:38:21 -04:00
Stefan Wójcik and GitHub
de18e256ce
clean up the Document._get_collection code ( #1540 )
2017-04-30 14:35:33 -04:00
Stefan Wójcik and GitHub
1a3c70ce1b
make EmbeddedDocument not hashable by default ( #1528 )
2017-04-30 13:30:21 -04:00
Stefan Wojcik
824ec42005
bump version to v0.13.0 and fill in the changelog and the upgrade docs
2017-04-16 14:08:46 -04:00
Stefan Wójcik and GitHub
466935e9a3
Unicode support in EmailField ( #1527 )
2017-04-16 13:58:58 -04:00
Stefan Wojcik
b52d3e3a7b
added one more item to the v0.12.0 changelog
2017-04-07 10:34:04 -04:00
Stefan Wojcik
888a6da4a5
update the changelog and bump the version to v0.12.0
2017-04-07 10:18:39 -04:00
Stefan Wojcik
b78010aa94
remove test_last_field_name_like_operator (it's a dupe of the same test in tests/queryset/transform.py)
2017-03-05 21:24:46 -05:00
Stefan Wójcik and GitHub
49035543b9
cleanup BaseQuerySet.__getitem__ ( #1502 )
2017-03-05 21:17:53 -05:00
Stefan Wójcik and GitHub
f9ccf635ca
Respect db fields in multiple layers of embedded docs ( #1501 )
2017-03-05 18:20:09 -05:00
Stefan Wojcik
e8ea294964
test negative indexes ( closes #1119 )
2017-03-05 18:12:01 -05:00
Stefan Wojcik
19ef2be88b
fix #937
2017-03-05 00:05:33 -05:00
Stefan Wojcik
30e8b8186f
clean up document instance tests
2017-03-02 00:25:56 -05:00
Stefan Wójcik and GitHub
741643af5f
clean up field unit tests ( #1498 )
2017-03-02 00:05:10 -05:00
Stefan Wójcik and GitHub
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ójcik and GitHub
e93a95d0cb
Test and document controlling the size of the connection pool ( #1489 )
2017-02-25 14:09:10 -05:00
Stefan Wójcik and GitHub
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ójcik and GitHub
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ójcik and GitHub
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ójcik and GitHub
ebd34427c7
Cleaner Document.save ( #1458 )
2016-12-30 05:43:56 -05:00
Stefan Wójcik and GitHub
3d75573889
Validate db_field ( #1448 )
2016-12-29 12:39:05 -05:00
Stefan Wójcik and GitHub
c6240ca415
Test connection's write concern ( #1456 )
2016-12-29 12:37:38 -05:00
Stefan Wójcik and GitHub
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ójcik and GitHub
c6cc013617
fix BaseQuerySet.fields when mixing exclusion/inclusion with complex values like $slice ( #1452 )
2016-12-28 11:40:57 -05:00
Stefan Wójcik and GitHub
f4e1d80a87
support a negative dec operator ( #1450 )
2016-12-28 02:04:49 -05:00
Stefan Wójcik and GitHub
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ójcik and GitHub
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ójcik and GitHub
403ceb19dc
set @wojcikstefan as the maintainer ( closes #1342 ) ( #1434 )
2016-12-12 10:44:03 -05:00
Stefan Wójcik and GitHub
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ójcik and GitHub
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ójcik and GitHub
1b9432824b
Add ability to filter the generic reference field by ObjectId and DBRef ( #1425 )
2016-12-09 12:56:06 -05:00
Stefan Wójcik and GitHub
f168682a68
Dont let the MongoDB URI override connection settings it doesnt explicitly specify ( #1421 )
2016-12-05 22:31:00 -05:00
Stefan Wójcik and GitHub
d25058a46d
Implement BaseQuerySet.batch_size ( #1426 )
2016-12-05 22:13:22 -05:00
Stefan Wójcik and GitHub
4d0c092d9f
Fix iteration within iteration ( #1427 )
2016-12-05 09:38:24 -05:00
Stefan Wójcik and GitHub
15714ef855
Fix __repr__ method of the StrictDict ( #1424 )
2016-12-04 16:10:59 -05:00
Stefan Wójcik and GitHub
eb743beaa3
fix doc.get_<field>_display + unit test inspired by #1279 ( #1419 )
2016-12-04 00:34:24 -05:00
Stefan Wójcik and GitHub
0007535a46
Add support for cursor.comment ( #1420 )
2016-12-04 00:33:42 -05:00
Stefan Wójcik and GitHub
8391af026c
Fix filtering by embedded_doc=None ( #1422 )
2016-12-04 00:32:53 -05:00
Stefan Wójcik and GitHub
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ójcik and GitHub
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ójcik and GitHub
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 Wojcik and Ross 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