2783 Commits

Author SHA1 Message Date
Stefan Wojcik
a12abe2da4 add xrange as a valid built-in in landscape 2016-12-11 14:56:34 -05:00
Stefan Wojcik
7ffaace4dd update setup.py classifiers 2016-12-11 14:33:53 -05:00
Stefan Wojcik
3ebe3748fa use with self.assertRaises for readability 2016-12-10 22:33:39 -05:00
Stefan Wojcik
a8884391c2 restore cover-package in setup.cfg 2016-12-10 21:04:04 -05:00
Stefan Wojcik
eb903987eb remove a print statement 2016-12-10 20:59:56 -05:00
Stefan Wojcik
b32cd19266 setup.cfg cleanup + only run coveralls on py27 2016-12-10 20:57:43 -05:00
Stefan Wojcik
500b182d17 deprecate explain's format param 2016-12-10 20:09:19 -05:00
Stefan Wojcik
5b70a451c4 fix improper syntax for datetimes 2016-12-10 19:59:15 -05:00
Stefan Wojcik
05fea58d6a remove a print statement 2016-12-10 19:58:41 -05:00
Stefan Wojcik
a9c205bffe remove ridiculous verify_exists option from URLField 2016-12-10 19:56:26 -05:00
Stefan Wojcik
fa9ca2555a remove more python 2.6 code + upgrade coverage + cleaner setup.py 2016-12-10 19:02:07 -05:00
Stefan Wojcik
d89cdff90a remove unused import and dont override built-in "id" 2016-12-10 14:29:48 -05:00
Stefan Wojcik
1e9a120f7e drop unused imports 2016-12-10 14:06:40 -05:00
Stefan Wojcik
94870d7377 merge master into improve-health-2 2016-12-10 13:53:13 -05:00
Stefan Wojcik
30ebe7c11e make the delete rules nicer and safer in BaseQuerySet.delete 2016-12-10 13:50:52 -05:00
Stefan Wójcik
7b860f7739 Deprecate Python v2.6 (#1430) 2016-12-10 13:29:31 -05:00
Stefan Wojcik
566e8ee801 readd accidentally dropped line in setup.cfg 2016-12-10 13:25:22 -05:00
Stefan Wojcik
e28804c03a add venv & venv3 to .gitignore 2016-12-10 13:11:37 -05:00
Stefan Wojcik
5778cb4b51 merge master into improve-health-2 2016-12-10 13:10:19 -05:00
Stefan Wojcik
37c86350f2 drop Python v2.6 support and use dict comprehensions 2016-12-10 12:57:54 -05:00
Stefan Wojcik
cb1eda480b remove outdated migration tests 2016-12-09 16:07:02 -05:00
Stefan Wójcik
1b9432824b Add ability to filter the generic reference field by ObjectId and DBRef (#1425) 2016-12-09 12:56:06 -05:00
Stefan Wojcik
e50b23f047 remove xrange and unused variables 2016-12-09 00:08:59 -05:00
Stefan Wojcik
6eb470a821 remove unnecessary usage of the "global" keyword 2016-12-08 23:50:36 -05:00
Stefan Wojcik
756d8b2ac5 remove ridiculous try-finally clause from BaseQuerySet.distinct 2016-12-08 23:44:36 -05:00
Stefan Wojcik
b99985eaf8 slightly cleaner and more performant BaseQuerySet.delete 2016-12-08 23:36:11 -05:00
Stefan Wojcik
4e1145d890 improve documentation regarding allow_inheritance 2016-12-08 23:06:17 -05:00
Stefan Wojcik
5b7b65a750 Prefer ' over " + minor docstring tweaks 2016-12-08 22:44:02 -05:00
Stefan Wojcik
76219901db nicer merge_index_specs (thanks @gukoff!) 2016-12-08 21:49:25 -05:00
Stefan Wojcik
44b86e29c6 more cleanup 2016-12-08 19:27:57 -05:00
Stefan Wojcik
f1f999a570 cleanup + nicer EmbeddedDocumentList.__match_all and __only_matches 2016-12-08 18:59:25 -05:00
Stefan Wojcik
9a32ff4c42 document and slightly simplify BaseDocument._lookup_field 2016-12-08 17:41:40 -05:00
Stefan Wojcik
4b024409ba fix benchmark.py + ignore it in landscape 2016-12-08 16:31:44 -05:00
Stefan Wojcik
b2825119ce remove unnecessary parentheses 2016-12-08 15:36:54 -05:00
Stefan Wojcik
b02904ee75 BREAKING CHANGE rename ConnectionError to MongoEngineConnectionError to avoid conflicts with PY3's built-in ConnectionError 2016-12-08 15:18:17 -05:00
Stefan Wojcik
c86155e571 cleaner connection code 2016-12-08 15:10:10 -05:00
Stefan Wojcik
fa6949eca2 no need to redefine PY3 - six already has it 2016-12-08 12:53:01 -05:00
Stefan Wojcik
18a91cc794 drop an unnecessary ALLOW_INHERITANCE 2016-12-08 11:22:51 -05:00
Stefan Wojcik
ae777e45b2 better comment about overriding allow_inheritance 2016-12-08 11:15:35 -05:00
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