Commit Graph
2744 Commits
Author SHA1 Message Date
Stefan Wojcik 0189818f3e clearer .landscape.yml + change self.__class__._meta to self._meta 2016-12-08 10:45:24 -05:00
Stefan Wojcik 205a975781 fix flake8 2016-12-08 10:34:09 -05:00
Stefan Wojcik bb81652ffe nicer imports 2016-12-08 10:33:15 -05:00
Stefan Wojcik edbecb4df0 minimize cyclic import warnings
remaining ones are wrongly attributed to mongoengine.common which only does inline imports
2016-12-08 10:12:46 -05:00
Stefan Wojcik 4373ea98cf more import fixes 2016-12-08 08:42:32 -05:00
Stefan Wojcik 8f657e0f7d cleaner code + prefer top-level import over _import_class 2016-12-08 08:18:33 -05:00
Stefan Wojcik f6b8899bba fix broken inheritance for Document and EmbeddedDocument 2016-12-07 22:48:06 -05:00
Stefan Wojcik c43a5fe760 add .landscape.yml 2016-12-07 00:13:32 -05:00
Stefan Wojcik c1993de524 remove one last unicode + safer default param 2016-12-06 23:36:57 -05:00
Stefan Wojcik bc83ba6a24 minor tweaks to Document._build_index_specs 2016-12-06 23:28:21 -05:00
Stefan Wojcik 0fc44efbcc minor tweak to python_support 2016-12-06 23:09:55 -05:00
Stefan Wojcik 1b36ca00e5 minor health tweak to benchmark.py 2016-12-06 23:04:38 -05:00
Stefan Wojcik 7dd4639037 pk as a property with a setter + get rid of basestring 2016-12-06 23:02:08 -05:00
Stefan Wojcik 557f9bd971 flake8 tweaks 2016-12-06 16:20:41 -05:00
Stefan Wojcik 59cac2b75c remove last few uses of "unicode" 2016-12-06 16:17:15 -05:00
Stefan Wojcik 548c7438b0 dont re-implement six 2016-12-06 16:14:53 -05:00
Stefan Wojcik 50df653768 imports working in py2 and py3 in mongoengine/__init__.py 2016-12-06 13:53:12 -05:00
Stefan Wojcik bc6c84c408 remove unnecessary sys.path manipulation in tests 2016-12-06 13:27:10 -05:00
Stefan Wojcik 6b2cebb07b healthier, cleaner imports 2016-12-06 13:17:40 -05:00
Stefan Wojcik db673a9033 ditch the old "except Exception, e" syntax 2016-12-05 23:23:38 -05:00
rmendocnaandStefan Wójcik 25e0f12976 fix delete cascade for models without a literal id field: replace with pk (#1247) 2016-12-05 22:54:21 -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
Ollie FordandStefan Wójcik d8d98b6143 Support Falsey primary_keys (#1354) 2016-12-03 16:10:05 -05:00
zeezandStefan Wójcik 02fb3b9315 Support for authentication mechanism #905 (#1333) 2016-12-03 16:08:24 -05:00
Francesc EliesandStefan Wójcik 4f87db784e Make the README example easier to replicate (#1382) 2016-12-02 22:05:20 -05:00
Jérôme LafréchouxandGitHub 7e6287b925 Merge pull request #1417 from MongoEngine/fix-db-field-in-sum-and-average
Fix BaseQuerySet#sum and BaseQuerySet#average for fields that specify a db_field
2016-12-02 20:53:48 +01: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
Jérôme LafréchouxandGitHub 8d6cb087c6 Fix changelog v0.10.7 2016-11-29 09:28:13 +01: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
Omer KatzandGitHub 0a20e04c10 Merge pull request #1383 from BenCoDev/patch-1
Dictionnary Field recommended use
2016-11-27 18:39:04 +02:00
Stefan Wojcik d19bb2308d add #1389 to the changelog 2016-11-24 09:40:17 -05:00
BenCotte d8dd07d9ef Updating Dict Fields use description
Update dict fields use misleading description to clarify use case.
2016-11-20 11:22:34 +01:00
Omer KatzandGitHub 36c56243cd Merge pull request #1399 from sallyruthstruik/master
Add info in CHANGELOG
2016-11-20 10:28:14 +02:00
Stanivlav Kaledin 23d06b79a6 Add info in CHANGELOG 2016-11-17 19:05:46 +03:00
Omer KatzandGitHub e4c4e923ee Merge pull request #1397 from sallyruthstruik/master
Fixed issue https://github.com/MongoEngine/mongoengine/issues/442
2016-11-17 11:32:09 +02:00
Omer KatzandGitHub 936d2f1f47 Merge pull request #1334 from touilleMan/bug-892
Raise DoesNotExist when dereferencing unknown document
2016-11-17 11:31:15 +02:00
Emmanuel Leblond 07018b5060 Raise DoesNotExist when dereferencing unknown document 2016-11-17 09:21:34 +01:00
Stanivlav Kaledin ac90d6ae5c Don't force _cursor 2016-11-14 20:06:34 +03:00