Commit Graph

46 Commits

Author SHA1 Message Date
64fd9f3cce initial working solution for aliases/different db column names in basic operations 2020-10-14 18:08:36 +02:00
85d119c14b update docs, update allow_blank in test and string fields 2020-10-08 18:03:26 +02:00
f802ae37ce update readme, bump version 2020-10-05 10:08:51 +02:00
287b970a09 add fields method limiting the models columns fetched from db 2020-10-05 09:40:41 +02:00
d0b6e75470 added unique columns constraints to Meta options 2020-10-01 11:42:20 +02:00
f4a45381b0 switch all together to char as postgres is failing 2020-09-30 11:52:44 +02:00
304fe6aafc add uuid field and tests 2020-09-30 11:17:03 +02:00
d9aa269f7a finish mypy checks add reqs and linting 2020-09-29 17:06:41 +02:00
3caa87057e added mypy checks and some typehint changes to conform 2020-09-29 14:05:08 +02:00
b694c6a387 change expr to sting in bulk_update, update readme, bump version 2020-09-28 14:30:21 +02:00
a5abf2a403 add bulk_create and bulk_update and tests 2020-09-25 13:26:10 +02:00
a13c13550d add get/update or create queryset method and tests 2020-09-24 17:17:10 +02:00
da05063e8d query level delete and update 2020-09-24 13:56:13 +02:00
3bd8f5cb40 added startswith, istartswith and same for endswith, add test for those 2020-09-23 11:52:47 +02:00
798475ae5f refactor and move tests 2020-09-23 10:09:15 +02:00
ebd812bf00 fix for minimu and maximum in validators, added validator for choices and choices param for BaseField, include tests 2020-09-22 20:50:24 +02:00
f3e227748f fix overwritten pk for non id pks 2020-09-17 19:05:46 +02:00
d0161a81af add callable excecution and test for default value, update readme with exclude, bump version 2020-09-17 18:10:10 +02:00
1a4be03131 add exclude method on QuerySet and fix missing default values on creation 2020-09-17 18:03:29 +02:00
0c4f6a0745 some refactors 2020-09-17 16:18:33 +02:00
a7d1b65712 extracted join 2020-09-17 15:49:39 +02:00
12487e1089 some refactors 2020-09-17 15:21:11 +02:00
1451ec8671 add tests for mysql and postgress, some fixes for those backends 2020-09-17 13:02:34 +02:00
31096d3f93 initial config for multi db tests 2020-09-16 12:33:12 +02:00
a5d9916575 refactor queries into separate files 2020-09-16 11:51:44 +02:00
54aaa97de2 more refactors in relations' 2020-09-15 14:01:36 +02:00
b47d5209eb some refactors in relations module 2020-09-15 13:53:54 +02:00
df9b5d27da some refactors and cleanup 2020-09-15 13:33:14 +02:00
6124830642 fix imports and styles after refactor 2020-09-15 12:53:14 +02:00
ca21e5dde5 further split of relations classes 2020-09-15 12:49:07 +02:00
12ec8492ef refacotr queryset proxy into separate file 2020-09-15 12:42:58 +02:00
5a8fd74fac fix some smells 2020-09-14 17:33:12 +02:00
4674f625df working basic many to many relationships 2020-09-14 17:13:27 +02:00
bd1d47a923 refactor metaclass into functions 2020-08-28 16:05:54 +02:00
8da4c192f3 finish of refactor 2020-08-27 19:00:06 +02:00
22b42ff6fc some refactors to reduce complexity 2020-08-27 18:56:21 +02:00
279d3966b1 liniting and missin type annots 2020-08-27 11:04:49 +02:00
c5389023b8 add fixes for fastapi model clones, add functionality to add and remove models to relation, add relation proxy, fix all tests, adding values also to pydantic model __dict__some refactors 2020-08-26 22:24:25 +02:00
a9f88e8f8f rename alias manager 2020-08-26 14:33:46 +02:00
63a24e7d36 remove auto related parsing, switch to relations on instance instead of relationship manager 2020-08-24 11:18:41 +02:00
9bbf6f93ed rename relationshipmanager 2020-08-23 18:32:21 +02:00
f2ff436fe8 rename newbasemodel 2020-08-23 18:04:33 +02:00
0f72bf36eb refactor and cleanup 2020-08-23 17:50:40 +02:00
348a3d90dc refactor fields into classes 2020-08-23 16:14:04 +02:00
806fe9b63e fix setting new related model just from dict with pkname 2020-08-23 13:15:04 +02:00
53384879a9 some cleanup and tests 2020-08-23 12:54:58 +02:00