Metadata-Version: 2.1
Name: crispy-bootstrap4
Version: 2025.6
Summary: Bootstrap4 template pack for django-crispy-forms
Author: David Smith
License: MIT
Project-URL: CI, https://github.com/django-crispy-forms/crispy-bootstrap4/actions
Project-URL: Changelog, https://github.com/django-crispy-forms/crispy-bootstrap4/releases
Project-URL: Homepage, https://github.com/django-crispy-forms/crispy-bootstrap4
Project-URL: Issues, https://github.com/django-crispy-forms/crispy-bootstrap4/issues
Classifier: Environment :: Web Environment
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Framework :: Django :: 4.2
Classifier: Framework :: Django :: 5.0
Classifier: Framework :: Django :: 5.1
Classifier: Framework :: Django :: 5.2
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: django>=4.2
Requires-Dist: django-crispy-forms>=2.3
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-django; extra == "test"

# crispy-bootstrap4

[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/smithdc1/crispy-bootstrap4/blob/main/LICENSE)

Bootstrap4 template pack for django-crispy-forms. This template pack was 
included with the core django-crispy-forms package until version 2.0.

## Installation

Install this plugin using `pip`:

```bash
    $ pip install crispy-bootstrap4
```

## Usage

You will need to update your project's settings file to add `crispy_forms`
and `crispy_bootstrap4` to your projects `INSTALLED_APPS`. Also set
`bootstrap4` as and allowed template pack and as the default template pack
for your project:

```python
    INSTALLED_APPS = (
        ...
        "crispy_forms",
        "crispy_bootstrap4",
        ...
    )

    CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap4"

    CRISPY_TEMPLATE_PACK = "bootstrap4"
```
