0% found this document useful (0 votes)
151 views

Crispy-Bootstrap5 PyPI

Crispy-bootstrap5 is a Bootstrap5 template pack for the django-crispy-forms library. It allows using Bootstrap5 styles and components like floating labels, accordions, and more in Django forms rendered by crispy-forms. The package is open source with an MIT license and can be installed via pip. It provides layout objects to implement Bootstrap5 specific form controls and works out of the box when added to a Django project.

Uploaded by

Aamir Khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
151 views

Crispy-Bootstrap5 PyPI

Crispy-bootstrap5 is a Bootstrap5 template pack for the django-crispy-forms library. It allows using Bootstrap5 styles and components like floating labels, accordions, and more in Django forms rendered by crispy-forms. The package is open source with an MIT license and can be installed via pip. It provides layout objects to implement Bootstrap5 specific form controls and works out of the box when added to a Django project.

Uploaded by

Aamir Khan
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

6/20/23, 10:25 AM crispy-bootstrap5 · PyPI

Search projects 

Help Sponsors Log in Register

crispy-bootstrap5 0.7  Latest version

pip install crispy-bootstrap5  Released: Sep 28, 2022

Bootstrap5 template pack for django-crispy-forms

Navigation Project description


Project
crispy-bootstrap5

description

 Release license MIT


history
Bootstrap5 template pack for django-crispy-forms
 Download
files Installation

Install this plugin using pip :


Project links
 Homepage $ pip install crispy-bootstrap5

 Changelog
 CI Usage
 Issues
You will need to update your project's settings file to add
crispy_forms and crispy_bootstrap5 to your projects

https://pypi.org/project/crispy-bootstrap5/ 1/4
6/20/23, 10:25 AM crispy-bootstrap5 · PyPI

Statistics INSTALLED_APPS . Also set bootstrap5 as and allowed template


pack and as the default template pack for your project::
GitHub statistics:
 Stars: 319
INSTALLED_APPS = (
 Forks: 51 ...
"crispy_forms",
 Open issues: "crispy_bootstrap5",
19 ...
)
 Open PRs: 9
View statistics for this CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
project via
Libraries.io , or by CRISPY_TEMPLATE_PACK = "bootstrap5"
using our public
dataset on Google
BigQuery  What's new?

Meta Bootstrap 5 introduces floating labels. This template pack include a


layout object to use this input type::
License: MIT License
(MIT)
from crispy_bootstrap5.bootstrap5 import FloatingField
Author: David Smith
# then in your Layout
Requires: Python
... Layout(
>=3.7 FloatingField("first_name"),
)

Maintainers
Accordions also have new features, such as Accordion flush and
smithdc1 Always open. There is a new layout object to use them::

Classifiers from crispy_bootstrap5.bootstrap5 import BS5Accordion

Environment # then in your Layout


Web Environment # if not informed, flush and always_open default to Fal
... Layout(
Framework BS5Accordion(
Django AccordionGroup("group name", "form_field_1", "
Django :: 3.2 AccordionGroup("another group name", "form_fiel
flush=True,
Django :: 4.0
always_open=True
Django :: 4.1
)
License )

https://pypi.org/project/crispy-bootstrap5/ 2/4
6/20/23, 10:25 AM crispy-bootstrap5 · PyPI

OSI Approved :: Development


MIT License
Operating System To contribute to this library, first checkout the code. Then create a
OS Independent new virtual environment:
Programming
Language
cd crispy-bootstrap5
Python :: 3 python -mvenv venv
Python :: 3.7 source venv/bin/activate
Python :: 3.9
Python :: 3.10
Or if you are using pipenv :
Topic
Internet ::
WWW/HTTP pipenv shell
Internet ::
WWW/HTTP ::
Now install the dependencies and tests:
Dynamic Content
Software
Development ::
pip install -e '.[test]'
Libraries :: Python
Modules
To run the tests:


pytest

Ansys is a
Maintaining
sponsor of the
Python Software
Foundation.

PSF Sponsor · Served


ethically

Help About PyPI


Installing packages  PyPI on Twitter 
Uploading packages  Infrastructure dashboard 
User guide  Statistics

https://pypi.org/project/crispy-bootstrap5/ 3/4
6/20/23, 10:25 AM crispy-bootstrap5 · PyPI

Project name retention  Logos & trademarks


FAQs Our sponsors

Contributing to PyPI Using PyPI


Bugs and feedback Code of conduct 
Contribute on GitHub  Report security issue
Translate PyPI  Privacy policy 
Sponsor PyPI Terms of use
Development credits  Acceptable Use Policy

Status: Service Under Maintenance 


Developed and maintained by the Python community, for the Python community.
Donate today!
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python
Software Foundation .
© 2023 Python Software Foundation 
Site map

Switch to desktop version

 English español français 日本語 português (Brasil) українська Ελληνικά Deutsch 中文 (简体)
中文 (繁體) русский ‫ עברית‬esperanto

AWS
Cloud computing
and Security Datadog Fastly Google Microsoft
Sponsor Monitoring CDN Download Analytics PSF Sponsor

Pingdom Sentry StatusPage


Monitoring Error logging Status page

https://pypi.org/project/crispy-bootstrap5/ 4/4

You might also like