Skip to main content

Extensions for the DRF

Project description

DRF Ext (Django REST Framework Extensions)

Extensions for the DRF

Installation:

pip install drf-ext

Features/Extensions:

  • Nested model serializer create/update
  • Declaration of non-required fields
  • Add multiple common parameters to a set of fields
  • Check field existence on de-serialization (create/update)
  • Check any fields existence among a set of fields on de-serialization (create/update)
  • Several frequenly used utility functions

Development:

  • Install dev dependencies:

    pip install drf-ext[dev]

  • Run tests:

    drf_ext/tests$ PYTHONPATH=.. pytest


License:

MIT


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

drf-ext-0.0.4.tar.gz (1.1 kB view hashes)

Uploaded Source

Built Distribution

drf_ext-0.0.4-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page