Commit Graph

1364 Commits

Author SHA1 Message Date
3bd8f5cb40 added startswith, istartswith and same for endswith, add test for those 2020-09-23 11:52:47 +02:00
650154f033 update readme to include choices 2020-09-23 10:32:49 +02:00
81f6af2cc5 Merge pull request #9 from collerek/add_choices
Add choices
2020-09-23 15:27:36 +07:00
9ce50280ae bump version 2020-09-23 10:11:42 +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
9620452b44 fix overwritten pk for non id pks 2020-09-17 19:11:21 +02:00
f3e227748f fix overwritten pk for non id pks 2020-09-17 19:05:46 +02:00
58f8ed8fa9 Merge pull request #8 from collerek/add_exclude
Add exclude
2020-09-17 23:16:59 +07: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
48819f1023 Merge pull request #7 from collerek/extract_joins
Extract joins
2020-09-17 21:25:11 +07: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
1cfd061e17 Merge pull request #6 from collerek/test_also_mysql_and_postgress
Test also mysql and postgress
2020-09-17 18:19:26 +07:00
63a9aa1d5d linting etc. 2020-09-17 13:14:36 +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
1075e841cb Merge pull request #4 from collerek/many_to_many
Many to many
2020-09-14 22:37:22 +07:00
5a8fd74fac fix some smells 2020-09-14 17:33:12 +02:00
ccca6ec0ff update readme 2020-09-14 17:29:25 +02:00
c2e4acc277 bump version 2020-09-14 17:15:17 +02:00
4674f625df working basic many to many relationships 2020-09-14 17:13:27 +02:00
58c3627be7 bump version 2020-08-31 11:18:50 +02:00
ff2e5f09bb Merge pull request #3 from collerek/relations
Relations
2020-08-28 21:24:06 +07:00
dd4fc2c8ec ignore no of arguments warning in model_fields flake qa 2020-08-28 16:12:17 +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
fd688d23bd change order of imports 2020-08-23 18:18:38 +02:00
f2ff436fe8 rename newbasemodel 2020-08-23 18:04:33 +02:00
081337fe72 bump version 2020-08-23 17:58:59 +02:00
0f72bf36eb refactor and cleanup 2020-08-23 17:50:40 +02:00
f73a97e560 Merge pull request #2 from collerek/pydantic_basemodel
Pydantic basemodel
2020-08-23 21:20:22 +07: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