17 Commits

Author SHA1 Message Date
fa4fa47fd5 feat: Add optional ordering feature for resources
Implemented optional ordering of resources in FastAPI admin. Code has been added to accept an 'order_by' parameter in the resource route, if present the list of resources will be sorted accordingly. Templates were updated to support this feature by adding a clickable link to each column header for sorting.
2024-02-28 08:45:53 -03:00
5f34bf0d73 feat: remove aioredis to redis 2022-07-25 18:25:04 +08:00
1a38b3dac4 Render FK values inside resource list view 2021-10-19 14:20:59 +01:00
0170abb5c3 Save duplicated method call into variable 2021-10-19 11:45:14 +01:00
04a3dcd9aa Load select_related after update resource 2021-10-19 11:37:20 +01:00
c4e640b24c refactor: ComputeField 2021-07-21 21:04:45 +08:00
0baafefbf3 Fix action link 2021-07-16 09:58:06 +08:00
844d982c6c update action link format 2021-07-10 12:21:09 +08:00
70d2a7a529 Use str type for pk path param. (#52) 2021-06-04 17:54:02 +08:00
50ebd3d864 bug fix 2021-05-14 22:38:01 +08:00
88ae0f9278 Add column_attributes 2021-05-13 16:10:04 +08:00
3e9c6f636e update filters 2021-05-08 22:58:04 +08:00
064eceea57 add request to parse_value 2021-05-06 20:07:52 +08:00
1e70bd09d2 add request params 2021-05-06 19:53:50 +08:00
e17d6a38c6 add row_attributes and cell_attributes 2021-05-05 23:14:00 +08:00
6af5852082 update 2021-05-04 22:33:30 +08:00
1118e990a9 Sync pro 2021-05-01 20:45:28 +08:00