django-fancy-formset

This is a plain JavaScript library to let users add and remove forms in a Django inline formset. It can be installed from PyPI as a Django app, from NPM as a JavaScript module, or linked to directly from your HTML.

Add and remove forms in an inline formset

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

Indices and tables