Commit Graph

23 Commits

Author SHA1 Message Date
ef0a4cbd49 fix json fields and fix choices validation 2021-02-11 11:25:08 +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
61da7b4418 expose querysetproxy on reverse of foreignkey (virtual fk), add additional methods from queryset to querysetproxy 2020-12-01 08:27:08 +01:00
610fcf4944 fix uuid column type in alembic autogeneration 2020-11-30 07:50:47 +01:00
2350111768 allow uuid_format add more tests and update docs 2020-11-28 11:28:15 +01:00
203c57fb2f fix uuid column to char(36) 2020-11-28 10:48:49 +01:00
cce59acd99 update docs, cleaning 2020-11-01 11:41:18 +01:00
358b5c2e52 restore typing in tests and docs, remove unused metaclass code 2020-11-01 10:11:25 +01:00
3c10892db7 liniting, black, mypy fixes 2020-10-31 18:22:15 +01:00
7d5e291a19 switch to equals in most of the code, fix dependencies, clean tests, make all not relation fields work with type hints 2020-10-31 18:11:48 +01:00
8fba94efa1 allow change to build in type hints 2020-10-31 15:43:34 +01:00
82e3eb94ae modify schema to show many to many as list of nested models, check openapi generation in tests 2020-10-27 17:55:41 +01:00
36300f9056 refactor translating of aliases from queryset to modelproxy 2020-10-26 14:50:04 +01:00
304fe6aafc add uuid field and tests 2020-09-30 11:17:03 +02:00
3bd8f5cb40 added startswith, istartswith and same for endswith, add test for those 2020-09-23 11:52:47 +02:00
798475ae5f refactor and move tests 2020-09-23 10:09:15 +02: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
1451ec8671 add tests for mysql and postgress, some fixes for those backends 2020-09-17 13:02:34 +02:00
df9b5d27da some refactors and cleanup 2020-09-15 13:33:14 +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
53384879a9 some cleanup and tests 2020-08-23 12:54:58 +02:00
0b156caf0a version with pydantic inheritance passing all the tests 2020-08-19 18:40:57 +07:00