Commit Graph

13 Commits

Author SHA1 Message Date
eea2ba0bef Correct spelling mistakes (#1163)
Co-authored-by: collerek <collerek@gmail.com>
2023-08-15 11:56:19 +02:00
b6e057c303 CheckColumns Constraint (#730)
* feat: add check columns class

* feat: write document of check columns part

* test: write a test for check columns constraints

* fix: debuging test exception raise mysql

* fix: set pragma no cover to ignore cov

* fix: ignore pytest raise in python 3.x not 10

* feat: set constraint name for check columns

* refactor: support index and check overwrites

* fix: debuging check constraint arguments

* fix: debug coverage all code tests

* fix: pass the map of type constraint to counter

* refactor: edit check name replace sapce underline

* refactor: write new function copy constraints

* test: write test for invalid constraint type

* fix: debug text cluase replaced names

* fix: set pragma no cover for result returned

* refactor: no coverage for main if statement

* perf: change get constraint copy func code

* fix: fix bug in mypy typing check
2022-07-14 10:05:30 +02:00
0e167dc89f use existing encode_json to avoid code duplication, rename queryset customization param and move it to Meta, move docs to models from inheritance 2022-01-26 17:59:00 +01:00
1da9111dbd add extra to Model.Meta, update docs and bump version 2021-09-26 14:07:47 +02:00
41a846bc1f Fix typo 2021-09-19 21:46:29 +02:00
cd87303b5c add multi column non unique columns 2021-09-06 16:47:37 +02:00
88d881cf3a Correct typo 2021-08-09 20:13:38 +02:00
3528d6effa add docs, provide check if Config is a class, ignore dynamic bases for mypy 2021-07-25 12:11:50 +02:00
b1b3d5cd92 first ugly version of values and values_list - to refactor and check with m2m 2021-06-04 18:21:16 +02:00
67904980ce add docs 2021-03-15 18:45:46 +01:00
95385425fe update the dosc with split of queries, fix tests 2021-01-29 11:17:43 +01:00
0fe95b0c7b Refactor in join in order to make possibility for nested duplicated relations (and it was a mess :D) 2021-01-15 17:05:23 +01:00
2e7cad722b reorganize docs into sections for easier navigation part 1 2020-12-10 18:10:08 +01:00