全部搜尋項
bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: python-djangorestframework-flex-fields  ]

套件:python3-djangorestframework-flex-fields(1.0.2-2)

python3-djangorestframework-flex-fields 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 python-djangorestframework-flex-fields

維護小組:

外部的資源:

相似套件:

Dynamic fields and nested resources for DRF (Python3 version)

FlexFields (DRF-FF) for Django REST Framework is a package designed to provide a common baseline of functionality for dynamically setting fields and nested models within DRF serializers. To remove unneeded fields, you can dynamically set fields, including nested fields, via URL parameters (?fields=name,address.zip) or when configuring serializers. Additionally, you can dynamically expand fields from simple values to complex nested models, or treat fields as "deferred", and expand them on an as-needed basis.

This package is designed for simplicity and provides two classes - a viewset class and a serializer class (or mixin) - with minimal magic and entanglement with DRF's foundational classes.

This package contains the Python 3 version of the library.

其他與 python3-djangorestframework-flex-fields 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-djangorestframework-flex-fields

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 15。2 kB74。0 kB [檔案列表]