django-fancy-formset

A plain JavaScript library to let users add and remove forms in a Django inline formset.

Read the documentation, install it from pypi or npm, or grab the code from github.

It can be installed from PyPI as a Django app, from NPM as a JavaScript module, or linked to directly from your HTML.

Features:

  • No dependencies, just 5kB of plain JavaScript
  • Apply to formsets manually, or automatically via a data- attribute
  • Optional Django app to simplify usage
  • Raises events to allow for customisation
  • Class based and designed to be extended
  • Default styling available