Commit Graph

100 Commits

Author SHA1 Message Date
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
bca6b6eef0 add bulk_post_update: signals 2022-01-14 18:26:11 +08:00
d8f0dc92f0 refactor choices validation from root validator to field validator 2021-10-10 14:11:25 +02:00
82b4e054a2 ignore overloads for now due to p3.6 errors 2021-10-09 15:47:21 +02:00
eb19290d94 Fixed mypy for python 3.7.
Signed-off-by: Pavel <win10@list.ru>
2021-10-09 15:06:39 +04:00
b2541bed1e Added poetry integration.
Description:
* Fixed github actions;
* Removed requirements.txt;
* Fixed CONTRIBUTING.md;
* Fixed black and flake8.

Signed-off-by: Pavel <win10@list.ru>
2021-10-08 16:56:59 +04:00
1da9111dbd add extra to Model.Meta, update docs and bump version 2021-09-26 14:07:47 +02:00
beb43dd76c add caching of relation map to increase performance 2021-09-10 12:58:26 +02:00
cd87303b5c add multi column non unique columns 2021-09-06 16:47:37 +02:00
46500eba39 fix for #327 and #328 2021-09-01 11:50:04 +02:00
b70a6691b0 bump version 2021-08-27 16:12:49 +02:00
521b9e6c12 fix for obsolete pydantic parameters 2021-08-06 16:03:29 +02:00
7baaee63ce add:SmallInteger() 2021-08-06 11:43:51 +08:00
b423c1c56d fixes for #270 and #274 2021-07-21 14:39:23 +02:00
cb4e5ea955 improve date handling 2021-07-06 15:11:26 +02:00
107404c3e8 fix inherited pk and add field accessor access to relations 2021-06-25 13:32:31 +02:00
172a6a2be6 bug fixes 2021-06-22 12:58:39 +02:00
9b27ef187d add release notes 2021-06-08 14:39:03 +02:00
5cbac6583e wip work on expanding fastapi docs 2021-05-30 15:58:18 +02:00
40f1076443 fix for base64 choices #204 2021-05-20 16:12:33 +02:00
57803ac8e6 fix for default values in pk models 2021-05-18 13:34:02 +02:00
b9a38be5c6 bump ver 2021-05-17 17:32:12 +02:00
12c002776b add examples to openapi schema, some perf improvements 2021-04-30 16:46:41 +02:00
11ed5fd322 add large binary field, tests and docs 2021-04-28 17:06:15 +02:00
638af9ad4c fix #173 and https://github.com/uriyyo/fastapi-pagination/issues/73 2021-04-23 15:45:35 +02:00
c49d21f605 wip adding filtering and order by with field chain access instead of strings 2021-04-17 16:24:42 +02:00
b3b1c156b5 add skip_reverse parameter, add links to related libs, fix weakref error, fix through error with extra=forbid 2021-04-11 18:43:23 +02:00
db7ac905b2 optimize __getattribute__ access 2021-03-26 10:24:56 +01:00
4ad843a6a5 fix quoting in order_by, add get_or_none 2021-03-23 17:36:20 +01:00
74beaa31b7 add select_all 2021-03-21 15:22:40 +01:00
03e6ac6c02 add release docs, change tests 2021-03-15 13:00:07 +01:00
6d0a5477cd wip pc problems backup 2021-03-14 19:09:34 +01:00
ff9d412508 add 4 new relation signales, add 4 new aggr methods, wip to cleanup 2021-03-12 12:13:08 +01:00
e29bea6f85 revert to use tables and columns with labels and aliases instead of text clauses, add encryption, mostly working encryption column type with configurable backends 2021-03-09 20:29:27 +01:00
f424e65a40 check if data binding not work only in sqlite 2021-03-09 17:00:13 +01:00
eeabb60200 add is null filter, add complex fiters (and_ & or_) and basic tests for them 2021-03-06 13:07:22 +01:00
7c0f8e976a Update __init__.py
bump version
2021-03-05 12:37:28 +01:00
526eb740b2 Merge branch 'master' into m2m_fields 2021-03-05 18:13:54 +07:00
a99000d2c0 add possibility to exclude/include fields (refactor to excludableitems), fix for through model only on related side of the relation, fix for exclude of through model related models 2021-03-01 19:26:33 +01:00
62a6fb9063 fix after pydantic update, pin dependencies 2021-02-28 09:16:36 +01:00
503f589fa7 refactor order bys into OrderQuery, add ordering to through models too 2021-02-25 17:28:05 +01:00
dedc90329c fix multiple pkonly models with same name in openapi schema 2021-02-17 18:19:48 +01:00
ef0a4cbd49 fix json fields and fix choices validation 2021-02-11 11:25:08 +01:00
85a191bb6d update badges, docs, quick start 2021-02-06 13:46:12 +01:00
867d480728 bump version, update realease, convert enums to vals 2021-02-03 14:26:40 +01:00
1cca385b5f fix coverage, bump version, update relaese, update docs 2021-02-02 11:57:37 +01:00
4788394565 add pagination method, add tests, update api docs, bump version, add release info 2021-01-29 14:24:53 +01:00
31b4c2e82b bump version 2021-01-05 15:19:16 +01:00
9f8e8e87e8 next part of the docs and api documentation in beta ver 2021-01-04 19:38:21 +01:00
9cf0a7ded0 connect db, bump ver, update releases 2020-12-15 14:31:13 +01:00