Skip to content
Sections
>> Trisquel >> Balíky >> aramo >> python >> python3-djangorestframework-flex-fields
aramo  ]

Balík: python3-djangorestframework-flex-fields (0.9.7-1)

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.

Ostatné balíky súvisiace s balíkom python3-djangorestframework-flex-fields

  • závisí
  • odporúča
  • navrhuje
  • dep: python3
    interactive high-level object-oriented language (default python3 version)

Stiahnuť python3-djangorestframework-flex-fields

Stiahnuť pre všetky dostupné architektúry
Architektúra Veľkosť balíka Nainštalovaná veľkosť Súbory
all 13.6 kB63 kB [zoznam súborov]