|
|
f93ab413de
|
add get_pydantic and basic tests
|
2021-05-23 16:44:24 +02:00 |
|
|
|
57803ac8e6
|
fix for default values in pk models
|
2021-05-18 13:34:02 +02:00 |
|
|
|
0527c5fb82
|
refactor into descriptors, cleanup, docs update
|
2021-05-17 17:21:10 +02:00 |
|
|
|
22a774201b
|
WIP super dirty - workaround __setattr__
|
2021-05-16 20:53:42 +02:00 |
|
|
|
4c79ce5a5e
|
WIP super dirty - change to descriptors and different tries
|
2021-05-16 20:42:07 +02:00 |
|
|
|
bd2a67af84
|
update docs, add params to json too
|
2021-05-11 17:39:43 +02:00 |
|
|
|
70ac1e3361
|
add excludes for pks and through models in dict
|
2021-05-07 18:38:44 +02:00 |
|
|
|
18706d884c
|
add also basic examples for native pydantic fields including models to not skip them
|
2021-04-30 18:36:25 +02:00 |
|
|
|
12c002776b
|
add examples to openapi schema, some perf improvements
|
2021-04-30 16:46:41 +02:00 |
|
|
|
734c33920b
|
add support for normal pydantic fields
|
2021-04-28 19:17:59 +02:00 |
|
|
|
638af9ad4c
|
fix #173 and https://github.com/uriyyo/fastapi-pagination/issues/73
|
2021-04-23 15:45:35 +02:00 |
|
|
|
1c24ade8c8
|
fix __all__ error in exclude, update docs
|
2021-04-16 14:14:24 +02:00 |
|
|
|
6780c9de8a
|
fix private attributes initialization
|
2021-04-12 10:40:29 +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 |
|
|
|
da05e5ba1d
|
split tests into packages
|
2021-03-30 12:48:39 +02:00 |
|
|
|
f0023773e3
|
switch dict() to include relations comming from _iterate_related_models and not only nested not nullable ones
|
2021-03-30 12:16:33 +02:00 |
|
|
|
8f60593123
|
optimize __same__
|
2021-03-26 12:47:12 +01:00 |
|
|
|
db7ac905b2
|
optimize __getattribute__ access
|
2021-03-26 10:24:56 +01:00 |
|
|
|
74beaa31b7
|
add select_all
|
2021-03-21 15:22:40 +01:00 |
|
|
|
859ed5d1fc
|
some types improvements
|
2021-03-19 18:40:46 +01:00 |
|
|
|
32695ffa1d
|
switch from class to instance fro fields
|
2021-03-19 14:22:31 +01:00 |
|
|
|
ff9d412508
|
add 4 new relation signales, add 4 new aggr methods, wip to cleanup
|
2021-03-12 12:13:08 +01:00 |
|
|
|
79ad69e355
|
check complex prefixes in groups, refactor limit queries, finish docstrings, refactors and cleanup in long methods
|
2021-03-07 12:50:40 +01:00 |
|
|
|
9ad1528cc0
|
add docstrings, clean types test
|
2021-03-02 19:10:59 +01:00 |
|
|
|
c139ca4f61
|
add possibility to filter on through models fields
|
2021-02-24 18:14:25 +01:00 |
|
|
|
e697235172
|
intorduce relation flags on basefield and simplify imports
|
2021-02-21 17:46:06 +01:00 |
|
|
|
3fd231cf3c
|
wip - through models fields -> attached in queries, accesible from instances, creates in add and queryset create
|
2021-02-15 17:30:14 +01:00 |
|
|
|
ef0a4cbd49
|
fix json fields and fix choices validation
|
2021-02-11 11:25:08 +01:00 |
|
|
|
4209d37364
|
working m2m and fk self relations with forwardref
|
2021-01-12 14:38:22 +01:00 |
|
|
|
8b67c83d0c
|
WIP changes up to join redefinition pending - use fields instead of join_params
|
2021-01-10 17:27:52 +01:00 |
|
|
|
4071ff7d11
|
WIP skip relation registration on m2m through instance, simplify registering relations part 2
|
2021-01-10 12:06:49 +01:00 |
|
|
|
055c99ba02
|
WIP add owner to fields and simplify relation names
|
2021-01-09 16:13:53 +01:00 |
|
|
|
8b794d07f9
|
WIP working self fk, adjusting m2m to work with self ref
|
2021-01-08 18:19:26 +01:00 |
|
|
|
9f8e8e87e8
|
next part of the docs and api documentation in beta ver
|
2021-01-04 19:38:21 +01:00 |
|
|
|
7a8d11b1c7
|
finish docstrings in models package
|
2021-01-01 12:54:38 +01:00 |
|
|
|
101ea57879
|
further refactor into mixins
|
2020-12-31 09:23:21 +01:00 |
|
|
|
e695db712f
|
refactor and cleanup - drop of resolving relation names as not fully proper, extract mixins from modelproxy to be more maintainable, add some docstrings
|
2020-12-30 16:41:26 +01:00 |
|
|
|
c8aad2385c
|
change limit/offset with select related to be applied on a subquery and limit only main model query
|
2020-12-21 18:42:17 +01:00 |
|
|
|
3cb3afb042
|
fix excluding default values in nested model fields in prefetch_related
|
2020-12-15 15:59:26 +01:00 |
|
|
|
fed54a7a71
|
merge from master, simplify props in meta inheritance
|
2020-12-14 20:56:58 +01:00 |
|
|
|
6e67b69385
|
fix for issue 73
|
2020-12-14 15:36:04 +01:00 |
|
|
|
4cca8fe63f
|
divide docs in sections, provide Meta attributes inheritance, add tests for fastapi use wih mixins and concrete
|
2020-12-11 15:51:29 +01:00 |
|
|
|
53e0fa8e65
|
add mixin support with fields definitions
|
2020-12-09 14:27:10 +01:00 |
|
|
|
3b4dc59e5a
|
add back orjson
|
2020-12-09 08:01:37 +01:00 |
|
|
|
85be9e8b80
|
add signals, register six signals on each models (pre/post + save/update/delete)
|
2020-12-06 17:23:46 +01:00 |
|
|
|
9838547c4f
|
some cleanup and refactoring
|
2020-12-06 08:23:57 +01:00 |
|
|
|
f071d4538e
|
bump version, update docs
|
2020-12-04 15:10:00 +01:00 |
|
|
|
00ab8a6d1d
|
switch to decorator used to register property_fields and save it on Meta inner class to expose to cloned fastapi models
|
2020-12-04 09:51:00 +01:00 |
|
|
|
3b164c76de
|
revert adding props to fields
|
2020-12-03 16:39:14 +01:00 |
|
|
|
b838fa1edf
|
some cleanup and optimization
|
2020-12-03 09:15:19 +01:00 |
|