00ab8a6d1dswitch to decorator used to register property_fields and save it on Meta inner class to expose to cloned fastapi models
collerek
2020-12-04 09:51:00 +01:00
3b164c76derevert adding props to fields
collerek
2020-12-03 16:39:14 +01:00
b838fa1edfsome cleanup and optimization
collerek
2020-12-03 09:15:19 +01:00
4c4e6248b0fix for sample data in tests
collerek
2020-12-01 08:34:26 +01:00
61da7b4418expose querysetproxy on reverse of foreignkey (virtual fk), add additional methods from queryset to querysetproxy
collerek
2020-12-01 08:27:08 +01:00
8a75379b44update documentation, optimize for memory saving, update docs for select_related, fields and exclude_fields, bump version
collerek
2020-11-26 09:15:13 +01:00
ba360974desome refactors and cleanup
collerek
2020-11-26 07:26:16 +01:00
f8dbb76965add aliases to test prefetch_related
collerek
2020-11-26 06:33:24 +01:00
c6146193b6Merge pull request #52 from EspenAlbert/master
collerek
2020-11-25 16:42:30 +07:00
1dc05a0fe3apply suggestion on adding model_dict.pop(field, None)` since the model might be missing the field and that would cause an error.
EspenAlbert
2020-11-25 08:49:04 +00:00
6f9b32b575refactor to a more sensible test. reduce cyclomatic complexity of if clause
EspenAlbert
2020-11-24 18:52:51 +00:00
0679bb4158Remove else clause that was never hit.
EspenAlbert
2020-11-24 09:31:59 +00:00
cf3ec2e2a5Refactor tests to cover all lines.
EspenAlbert
2020-11-24 09:09:54 +00:00
a668b20f1aAdd test for an Album with tracks.
EspenAlbert
2020-11-24 08:56:57 +00:00
3eccd05ecesupport updating models on the many side of the one-to-many relations.
EspenAlbert
2020-11-24 08:40:19 +00:00
585bba3ad3dirty many to many pass first test
collerek
2020-11-23 17:03:31 +01:00
b696156f56dirty prefetch_related working for FK and reverse FK
collerek
2020-11-23 16:05:05 +01:00
08779f4689fix two step example in docs index and readme
collerek
2020-11-22 08:47:21 +01:00
29c364675fswitch badge to github action - rename the action workflow
collerek
2020-11-20 13:32:47 +01:00
d61c7b4b1aremove travis, switch to github actions
collerek
2020-11-20 13:02:59 +01:00
9cf19fe228remove travis, switch to github actions
collerek
2020-11-20 12:55:56 +01:00
39e7deb249remove travis, switch to github actions
collerek
2020-11-20 12:35:36 +01:00
36a5ef8ad4remove travis, switch to github actions
collerek
2020-11-20 11:49:15 +01:00
69137da2d5remove travis, switch to github actions
collerek
2020-11-20 11:47:58 +01:00
86e638ab18remove travis, switch to github actions
collerek
2020-11-20 11:40:43 +01:00
e805ff16b2introduce upsert method on model, add tests to see if save status properly changing on nested models
collerek
2020-11-14 13:53:32 +01:00
1f67da3a5cadd save status and tests
collerek
2020-11-13 16:21:12 +01:00
b0cf916531add saving status and basic test for this
collerek
2020-11-13 13:39:19 +01:00
381995250dupdate docs, fix for ellipsis for whole model, some more tests
collerek
2020-11-12 11:08:27 +01:00
d8391851fasome further cleanup and optim
collerek
2020-11-12 08:56:16 +01:00
e743286008some cleanup of unused relations code, introduced caching of related_names and props on model, set profiling
collerek
2020-11-12 08:11:40 +01:00
1242e5d600allow passing a dict and set to fields and exclude_fields, store it as dict
collerek
2020-11-11 19:00:03 +01:00
5552a8297fMerge pull request #42 from collerek/fix_alias_order_by
collerek
2020-11-11 16:50:17 +07:00
a797373983add nested for all aliases as postgres serves nulls first when order by desc
collerek
2020-11-11 10:35:16 +01:00
5663ad6cc2move back instance creation before query in create to catch errors early
collerek
2020-11-11 10:24:36 +01:00
9350b929aablack, add additional tests with combined fields and exclude_fields, add aliases for column names to tests with fields and exclude_fields
collerek
2020-11-11 10:10:30 +01:00
b1a30eaffcMerge pull request #41 from smorokin/patch-1
collerek
2020-11-11 15:52:30 +07:00
139a93267bUse code example without type hints
smorokin
2020-11-11 09:17:37 +01:00
bc9e3f6753Merge pull request #40 from smorokin/patch-1
collerek
2020-11-11 15:10:27 +07:00
738fa37983Fixed line ordering
smorokin
2020-11-11 09:01:19 +01:00
56444f2638Merge pull request #39 from collerek/add_exclude_fields
collerek
2020-11-10 23:45:55 +07:00