1912 Commits

Author SHA1 Message Date
Ross Lawley
b02a31d4b9 Updated .travis.yml 2014-06-26 14:44:44 +01: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
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
Falcon Dai
c1f88a4e14 minor change to geo-related docs 2014-03-17 22:29:53 -05:00
Damien Churchill
d27a1103fa workaround a dateutil bug
In the latest released version of dateutil, there's a bug whereby a TypeError
can be raised whilst parsing a date. This is because it calls a method which
it expects to return 2 arguments, however it can return 1 depending upon the
input, which results in a TypeError: ArgType not iterable exception. Since
this is equivalent to a failed parse anyway, we can treat it the same as a
ValueError.
2014-03-12 17:19:49 +00:00
Kirill Pavlov
19314e7e06 fix docstring for DictField 2014-03-03 13:09:26 +08:00
Ross Lawley
d4b3649640 Added coveralls.io badge
https://coveralls.io/r/MongoEngine/mongoengine
2014-01-28 09:25:59 +00:00
Ross Lawley
0da694b845 0.8.7 v0.8.7 2014-01-24 16:23:52 +00:00
Ross Lawley
6d5e7d9e81 Calling reload on deleted / nonexistant documents raises DoesNotExist (#538) 2014-01-24 14:10:55 +00:00
Ross Lawley
bc08bea284 Fix circular import issue with django auth (#531) (#545) 2014-01-24 13:54:16 +00:00
Ross Lawley
0e5a0661e1 Fixed possible issue not catching duplicate key errors 2014-01-24 13:50:09 +00:00
Ross Lawley
a839bd428f Merge branch 'master' of github.com:MongoEngine/mongoengine 2014-01-24 13:18:11 +00:00
Ross Lawley
0277062693 Stop ensure_indexes running on a secondaries (#555) 2014-01-24 13:17:52 +00:00
Ross Lawley
7affa5ab69 Merge pull request #554 from yprez/patch-1
geo_within docs - fix broken code samples
2014-01-24 05:05:34 -08:00
Ross Lawley
ed22af4e73 Merge pull request #553 from davidwilemski/patch-2
Fix typo in upgrade docs
2014-01-24 05:05:00 -08:00
Yuri Prezument
63ebb6998e geo_within docs - fix broken code samples
No such thing as "geo_with"
2014-01-22 22:47:48 +02:00
David Wilemski
7914cd47ca Fix typo in upgrade docs
Removed extra closing parenthesis
2014-01-17 20:36:02 -05:00
Ross Lawley
708dbac70e Depending on pymongo it might raise a TypeError or ValueError 2014-01-14 10:09:11 +00:00
Ross Lawley
1b62dd5c40 Fix duplicate error check 2014-01-14 10:01:39 +00:00
Ross Lawley
4911545843 Merge branch 'master' of github.com:MongoEngine/mongoengine 2014-01-13 16:59:20 +00:00
Ross Lawley
c5cc4b7867 Updated docs 2014-01-13 16:57:49 +00:00
Ross Lawley
a02c820c2d Merge pull request #534 from matthewowen/master
Reject email addresses where hostname ends with '.'
2013-12-18 01:18:37 -08:00
Ross Lawley
516591fe88 Docs update and canonical url fix 2013-12-13 09:46:45 +00:00
Ross Lawley
d2941a9110 Updated doc examples to open using read binary mode 2013-12-13 09:22:41 +00:00