Skip to main content

DyF performs all the visualisation & data entry of your DRF Serializers & ViewSets and adds some candy of its own

Project description

Notice to users of this library

This library is no longer free software.

With 0.80.0 the library has gained a development partner that will doubtless raise it to new heights.

The LICENSE has been modified to a proprietary one with restrictions, so please be mindful of conditions.

The library is thus deprecated and in maintenance mode only.

What is DyF?

DyF wants to eliminate HTML form boilerplate for generic tables & forms. Specifying a single DRF Serializer / ViewSet and possibly desired form layout instantly provides both HTML renders and JSON renders (and anything else DRF supports) keeping you free to implement your project.

There are two parts to DanymicForms:

  • Django / DRF extensions providing the JSON definitions for on-screen objects
  • HTML / Javascript component library providing the visualisation

It performs all the visualisation & data entry of your DRF Serializers & ViewSets and adds some candy of its own: It is a django library that gives you the power of dynamically-shown form fields, autofilled default values, dynamic record loading and similar candy with little effort. To put it differently: once defined, a particular ViewSet / Serializer can be rendered in multiple ways allowing you to perform viewing and authoring operations on the data in question.

It is based on django-rest-framework

Why DyF

  • Turn your rest-framework ViewSets into HTML tables & forms
  • Powerful HTML based CRUD
    • Support for fetching "new" records
    • Render to table, form or dialog, with plenty of customisation options
    • Full nested data support
    • Dynamically display & hide fields based on other fields' values
    • Easily add actions and place the buttons to execute them anywhere you like
  • Clear separation of list & dialog templates
  • Dynamic loading of additional records for table views supported by infinite scroll
  • Responsive tables (multiple table layouts for various screen widths)
  • Easy implementation of filtering
  • Action items, declared globally, placed where you need them
  • Custom templates whenever & wherever you want them
  • Support for form validation, will show errors even if they are not tied to a field
  • Progress dialog for long lasting ajax operations

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

dynamicforms-0.81.3.tar.gz (1.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dynamicforms-0.81.3-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file dynamicforms-0.81.3.tar.gz.

File metadata

  • Download URL: dynamicforms-0.81.3.tar.gz
  • Upload date:
  • Size: 1.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for dynamicforms-0.81.3.tar.gz
Algorithm Hash digest
SHA256 d9b725647a02a504df30c691681aee6defa3a10a0935ef222bdd49b130253e7b
MD5 4ff146cd5a2f3379e44bce3c71bee817
BLAKE2b-256 4eff271c8cfb763d22b855adbed31bf8db61f4c1dca5a19632bf909cf24e1c20

See more details on using hashes here.

File details

Details for the file dynamicforms-0.81.3-py3-none-any.whl.

File metadata

  • Download URL: dynamicforms-0.81.3-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for dynamicforms-0.81.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b7851c69b9091f81bb6f4ca6defbdf67e067d8c89b4722a5e0e77a6398eb2bf
MD5 071f7b69f2945bd800821b13897f58b3
BLAKE2b-256 0f761b5b891cfe01343fef155c1ca2cdba8d11d4d51f68e9a5810f2e6e14e369

See more details on using hashes here.

Supported by

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