معرفی شرکت ها


drf-nested-browsable-0.2.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Writable nested serializers with forms for the Browsable API
ویژگی مقدار
سیستم عامل -
نام فایل drf-nested-browsable-0.2.2
نام drf-nested-browsable
نسخه کتابخانه 0.2.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Pierre Couy
ایمیل نویسنده contact@pierre-couy.dev
آدرس صفحه اصلی https://pierre-couy.dev/projects/drf-nested-browsable.html
آدرس اینترنتی https://pypi.org/project/drf-nested-browsable/
مجوز MIT
:warning: Work In Progress :warning: # Writable Nested Serializers with Browsable API Forms This plugin is intended to provide writable nested serializers (similar to [the recommended plugin from DRF documentation](https://github.com/beda-software/drf-nested-browsable.git)) that bring their own forms for the Browsable API renderer. ## Try it out This project's dependencies are managed using [`poetry`](https://python-poetry.org/) ```bash git clone https://github.com/pcouy/drf-nested-browsable cd drf-nested-browsable poetry install cd example poetry shell python manage.py migrate python manage.py runserver ``` The above commands will install the dependencies, run the DB migrations, and launch a development server of the example project that uses the provided serializers. ## Current state of the project ### Done * Ability to write to a reverse `ForeignKey` relationship using serializer `Meta` class * Dynamic form for `WritableNestedListSerializer` that allows adding and removing children from the Browsable API * Arbitrary nesting depth * Dynamically removing the parent field from serializers when used as an inner serializer * Basic example ### To do * Make the current example work : * Show `details` (`HyperlinkedIdentityField`) when displayed as a child Serializer * Write documentation / Auto-generate it from the docstrings ([pdoc](https://pdoc.dev/) ?) * Write tests/specs


نیازمندی

مقدار نام
>=3.14.0,<4.0.0 djangorestframework
>=4.2,<5.0 django


زبان مورد نیاز

مقدار نام
>=3.10,<4.0 Python


نحوه نصب


نصب پکیج whl drf-nested-browsable-0.2.2:

    pip install drf-nested-browsable-0.2.2.whl


نصب پکیج tar.gz drf-nested-browsable-0.2.2:

    pip install drf-nested-browsable-0.2.2.tar.gz