Ross Lawley
bb1367cfb9
Merge branch 'master' into pr/674
2014-06-26 16:22:21 +01:00
Dmitry Konishchev
11724aa555
QuerySet.modify() method to provide find_and_modify() like behaviour
2014-06-26 16:18:42 +01:00
Ross Lawley
4d374712de
Merge branch '0.9'
...
Conflicts:
.travis.yml
2014-06-26 16:14:34 +01:00
Ross Lawley
eb9003187d
Updated changelog & authors #673
2014-06-26 16:13:01 +01:00
Ross Lawley
caba444962
Merge branch '0.9' into pr/673
...
Conflicts:
.travis.yml
2014-06-26 16:11:12 +01:00
Ross Lawley
5b6c8c191f
Updated .travis.yml
2014-06-26 16:06:30 +01:00
Ross Lawley
dd51589f67
Updates
2014-06-26 16:02:40 +01:00
Ross Lawley
b02a31d4b9
Updated .travis.yml
2014-06-26 14:44:44 +01:00
Omer Katz
0e7878b406
Only run 2to3 on Python 3.x. Makes sense no?
2014-06-26 12:41:26 +03:00
Omer Katz
cae91ce0c5
Convert codebase to Python 3 using 2to3 before running benchmarks.
2014-06-26 12:31:07 +03:00
Omer Katz
67a65a2aa9
Installing unittest2 on Python 2.6.
2014-06-26 11:17:57 +03:00
Yohan Graterol
364b0a7163
Merge pull request #591 from pavlov99/master
...
fix docstring for DictField
2014-06-25 22:52:07 -05:00
Yohan Graterol
d6419f2059
Merge pull request #613 from falcondai/master
...
minor change to geo-related docs
2014-06-25 10:44:36 -05:00
Yohan Graterol
6f7ad7ef91
Merge pull request #619 from polyrabbit/master
...
Fixed incorrectly split a query key, when it ends with "_"
2014-06-25 10:42:27 -05:00
Yohan Graterol
a70dbac0e6
Merge pull request #626 from KonishchevDmitry/pr-not-unique-error-on-update
...
Raise NotUniqueError in Document.update() on pymongo.errors.DuplicateKeyError
2014-06-25 10:18:09 -05:00
Yohan Graterol
4d34a02afe
Merge pull request #634 from jatin/patch-1
...
Updated Jatin's name and github name
2014-06-25 10:16:49 -05:00
Yohan Graterol
4db4f45897
Merge pull request #651 from elasticsales/server-13975-precaution
...
Don't use a system collection in the tests
2014-06-25 09:48:30 -05:00
Yohan Graterol
2d5280fc95
Merge pull request #655 from jonathansp/master
...
Avoid to open all documents from cursors in an if stmt
2014-06-25 09:45:51 -05:00
Omer Katz
b8d568761e
Getting rid of xrange since it's not in Python 3 and does not affect the benchmark.
2014-06-25 17:24:52 +03:00
Omer Katz
29309dac9a
Mongo clients with the same settings should be shared since they manage a connection pool.
...
Also, I removed old code that was supposed to support Pymongo<2.1 which we don't support anymore.
2014-06-25 16:53:24 +03:00
Omer Katz
7f7745071a
Found more print statements that were not turned into function calls.
2014-06-25 15:47:54 +03:00
Omer Katz
1914032e35
Missed some of the print statements in the benchmarks script.
2014-06-25 14:20:54 +03:00
Omer Katz
f44c8f1205
Skipping a test that does not work on PyPy due to a PyPy bug/feature.
2014-06-25 13:11:32 +03:00
Omer Katz
fe2ef4e61c
Made the benchmark script compatitable with Python 3 and ensured it runs on every build.
2014-06-25 11:39:08 +03:00
Omer Katz
fc3eda55c7
Added a note about optional dependencies to the README file.
2014-06-25 11:32:41 +03:00
Omer Katz
8adf1cdd02
Fast finish the build if there are failures since we have a very large build matrix and each build takes a very long time.
2014-06-25 11:18:35 +03:00
Omer Katz
adbbc656d4
Removing zlib hack since only PIL needs it. The build should pass without it.
2014-06-25 11:12:40 +03:00
Omer Katz
8e852bce02
Pillow provides a more descriptive error message, therefor the build failure.
2014-06-25 10:58:00 +03:00
Omer Katz
bb461b009f
Travis build improvements.
...
The latest patch version of each Django minor version is used.
The build now installs existing pymongo versions.
The build now actually tests against the specified Django version.
Replaced PIL with Pillow.
Added PyPy and Python 3.4 to the build.
Rebase Log:
Installing Pillow instead of PIL for testing since it's recommended and it supports PyPy.
Excluding Django versions that do not work with Python 3.
Improved formatting of .travis.yml.
Specifying Pillow 2.0.0 and above since it's the first version that is supported in Python 3.
PIL should not be installed alongside Pillow.
Also, I installed some libraries that both PIL and Pillow depend on.
It seems I have to be explicit on all envvars in order to exclude Django 1.4 from the build matrix.
The build is now installing pymongo versions that actually exist.
openjpeg has a different name on Ubuntu 12.04.
Restoring libz hack.
Also installing all Pillow requirements just in case.
Fixed the build matrix.
Acting according to @BanzaiMan's advice in travis-ci/travis-ci/#1492.
2014-06-25 10:40:28 +03:00
Jonathan Prates
7bb2fe128a
Added PR #657
2014-06-12 11:08:41 -03:00
Jonathan Prates
2312e17a8e
Merge remote-tracking branch 'elasticsales/clear-default-ordering'
2014-06-12 10:28:36 -03:00
Stefan Wojcik
1eacc6fbff
clear ordering via empty order_by
2014-05-30 15:08:03 -07:00
Jonathan Prates
85187239b6
Fix tests msg
2014-05-29 15:21:24 -03:00
Jonathan Prates
819ff2a902
Renamed to has_data()
2014-05-29 14:36:30 -03:00
Jonathan Prates
c744104a18
Added test with meta
2014-05-29 10:53:20 -03:00
Jonathan Prates
c87801f0a9
Using first() from cloned queryset
2014-05-28 17:26:28 -03:00
Jonathan Prates
39735594bd
Removed blank line
2014-05-28 17:15:48 -03:00
Jonathan Prates
30964f65e4
Remove orderby in if stmt
2014-05-28 17:06:15 -03:00
Jonathan Prates
ee0c7fd8bf
Change for loop to self.first()
2014-05-28 13:21:00 -03:00
Jonathan Prates
dfdecef8e7
Fix py2 and py3
2014-05-28 09:40:22 -03:00
Jonathan Prates
edcdfeb057
Fix syntax error
2014-05-28 09:03:12 -03:00
Jonathan Prates
47f0de9836
Py3 fix
2014-05-28 08:36:57 -03:00
Jonathan Prates
9ba657797e
Authors updated according guideline
2014-05-28 08:33:22 -03:00
Jonathan Prates
3faf3c84be
Avoid to open all documents from cursors in an if stmt
...
Using a cursos in an if statement:
cursor = Collection.objects
if cursor:
(...)
Will open all documents, because there are not an __nonzero__ method.
This change check only one document (if present) and returns True or False.
2014-05-27 16:33:38 -03:00
Stefan Wojcik
abcacc82f3
dont use a system collection
2014-05-21 22:21:46 -07:00
Jatin Chopra
12809ebc74
Updated Jatin's name and github name
2014-05-06 00:25:55 -07:00
Dmitry Konishchev
b45a601ad2
Test raising NotUniqueError by Document.update()
2014-04-15 19:32:42 +04:00
Serge Matveenko
f099dc6a37
Merge pull request #608 from cloudbuy/dateutil-bug-workaround
...
workaround a dateutil bug
2014-04-10 12:18:25 +04:00
Dmitry Konishchev
803caddbd4
Raise NotUniqueError in Document.update() on pymongo.errors.DuplicateKeyError
2014-04-09 14:25:53 +04:00
poly
4d7b988018
Fixed uncorrectly split a query key, when it ends with "_"
2014-04-01 19:52:21 +08:00