Commit Graph

32 Commits

Author SHA1 Message Date
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