Commit Graph

338 Commits

Author SHA1 Message Date
287b970a09 add fields method limiting the models columns fetched from db 2020-10-05 09:40:41 +02:00
16b8e95975 Merge pull request #15 from collerek/constraints
Constraints
2020-10-01 19:09:40 +07:00
d059ce67fd update readme 2020-10-01 13:40:25 +02:00
d2d0d042d6 catch different exc in tests for different backends 2020-10-01 13:16:04 +02:00
d0b6e75470 added unique columns constraints to Meta options 2020-10-01 11:42:20 +02:00
c4d1d00ad3 Merge pull request #14 from collerek/add_uuid
Add UUID
2020-09-30 17:05:54 +07:00
b7b23ae780 fix elif after return 2020-09-30 11:57:25 +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
6d56ea5e30 Merge pull request #13 from collerek/bulk_operations
Bulk operations - add bulk_create and bulk_update
2020-09-28 19:47:32 +07: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
41c38a5bd6 Create python-publish.yml 2020-09-25 11:00:35 +02:00
3658d6a9a5 Merge pull request #12 from collerek/get_or_create
add get/update or create queryset method and tests
2020-09-24 22:24:25 +07:00
df3bb9587d remove unnec else 2020-09-24 17:20:44 +02:00
a13c13550d add get/update or create queryset method and tests 2020-09-24 17:17:10 +02:00
9f034829d6 Merge pull request #11 from collerek/queryset_level_ops
Queryset level ops
2020-09-24 21:54:25 +07:00
29bcbae35d update readme, bump version 2020-09-24 16:32:34 +02:00
da05063e8d query level delete and update 2020-09-24 13:56:13 +02:00
ae34d21767 update readme 2020-09-24 11:41:10 +02:00
c156013f4b Merge pull request #10 from collerek/add_startswith
Add startswith
2020-09-23 18:21:21 +07:00
cc1d66001f bump version, update readme 2020-09-23 11:58:15 +02:00
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