Skip to content

Welcome

Introduction

Welcome to the documentation for Django Crispy Formset Modal, a Python package designed to facilitate the handling of formsets in Django through a modal dialog. This tool is designed to streamline and enhance the user experience when handling formsets, by allowing you to add, edit, and delete forms from a formset in an intuitive and efficient manner.

The Django Crispy Formset Modal package offers a wide range of functionalities:

  • Allows you to add, edit, and delete forms from a formset via a modal dialog.
  • Generates an HTML table according to the layout definition, allowing you to determine which fields to display as columns.
  • Provides the option to define which numeric fields will be used for a totalizer at the footer of the corresponding field's column.
  • Enables mass deletion of records from the HTML table, thanks to the generation of a selection column with checkboxes that can be selected individually or collectively to delete multiple records at once.
  • Offers support for various templates packs, including Bootstrap 4, Bootstrap 5, Tailwind, and Bulma.

Requirements and Dependencies

Django Crispy Formset Modal relies on several libraries to function correctly:

To use Django Crispy Formset Modal, you'll need to have these dependencies installed and properly configured in your Django project. If you need help doing this, you'll find more details in the Installation section.

This documentation will guide you through the installation, configuration, and use of Django Crispy Formset Modal. It will also provide detailed information on how to customize the package to suit your needs and troubleshoot the most common issues that may arise. If you have any questions or need further assistance, please do not hesitate to contact us.

Let's get started!