Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/django-crispy-forms/crispy-bootstrap4
Bootstrap 4 template pack for django-crispy-forms
https://github.com/django-crispy-forms/crispy-bootstrap4
Last synced: 4 months ago
JSON representation
Bootstrap 4 template pack for django-crispy-forms
- Host: GitHub
- URL: https://github.com/django-crispy-forms/crispy-bootstrap4
- Owner: django-crispy-forms
- License: mit
- Created: 2022-10-26T11:33:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-27T06:38:03.000Z (11 months ago)
- Last Synced: 2024-05-08T21:12:46.705Z (9 months ago)
- Language: HTML
- Size: 65.4 KB
- Stars: 9
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- stars - django-crispy-forms/crispy-bootstrap4 - Bootstrap 4 template pack for django-crispy-forms (HTML)
- stars - django-crispy-forms/crispy-bootstrap4 - Bootstrap 4 template pack for django-crispy-forms (HTML)
README
# 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"
```