A DaisyUI package for Django Crispy Forms
Project description
crispy-daisyui
A daisyUI template pack for the wonderful django-crispy-forms.
This repository is a fork of crispy-tailwind and has been modified just enough to suit my needs.
It works well for the most common forms elements.
How to install
Install via pip:
pip install crispy-daisyui
You will need to update your project's settings file to add crispy_forms
and crispy_daisyui to your project's INSTALLED_APPS setting. Also set
daisyui as an allowed template pack and as the default template pack
for your project:
INSTALLED_APPS = [
# ...
'crispy_forms',
'crispy_daisyui',
# ...
]
CRISPY_ALLOWED_TEMPLATE_PACKS = 'daisyui'
CRISPY_TEMPLATE_PACK = 'daisyui'
How to use
Current functionality allows the |crispy filter to be used to style your
form. In your template:
- Load the filter:
{% load daisyui_filters %} - Apply the crispy filter:
{{ form|crispy }}
We can also use the {% crispy %} tag to allow usage of crispy-forms'
FormHelper and Layout. In your template:
- Load the crispy tag:
{% load crispy_forms_tags %} - Add
FormHelperto your form and use crispy-forms to set-up your form - Use the crispy tag
{% crispy form %}in your template
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file crispy_daisyui-0.12.0.tar.gz.
File metadata
- Download URL: crispy_daisyui-0.12.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba8ba8d9375e657b32662858111804a915a1b7cba4dbe3e2f8c01a4fdb5c52bf
|
|
| MD5 |
b2b176a9a93efc1a135f4923e851ea36
|
|
| BLAKE2b-256 |
cdc171251b59e93abe19db551c9a79ba9c8c431bfe6f47b2e4d43324c2b11e95
|
Provenance
The following attestation bundles were made for crispy_daisyui-0.12.0.tar.gz:
Publisher:
publish.yml on fabge/crispy-daisyui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crispy_daisyui-0.12.0.tar.gz -
Subject digest:
ba8ba8d9375e657b32662858111804a915a1b7cba4dbe3e2f8c01a4fdb5c52bf - Sigstore transparency entry: 954507021
- Sigstore integration time:
-
Permalink:
fabge/crispy-daisyui@4bef3434f222308b9eef92cf234ff251a425119c -
Branch / Tag:
refs/tags/v0.12.0 - Owner: https://github.com/fabge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4bef3434f222308b9eef92cf234ff251a425119c -
Trigger Event:
release
-
Statement type:
File details
Details for the file crispy_daisyui-0.12.0-py3-none-any.whl.
File metadata
- Download URL: crispy_daisyui-0.12.0-py3-none-any.whl
- Upload date:
- Size: 26.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6af073e560e16f561ac51f11555f1ab0efd944e0fccab372c638cace9566a293
|
|
| MD5 |
032bd8a7b8f03c2dd95d1a72674accde
|
|
| BLAKE2b-256 |
f6f606d63036ccb619a51ba60d1a11de8ab4b614eec478e205eb882df49782e5
|
Provenance
The following attestation bundles were made for crispy_daisyui-0.12.0-py3-none-any.whl:
Publisher:
publish.yml on fabge/crispy-daisyui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
crispy_daisyui-0.12.0-py3-none-any.whl -
Subject digest:
6af073e560e16f561ac51f11555f1ab0efd944e0fccab372c638cace9566a293 - Sigstore transparency entry: 954507023
- Sigstore integration time:
-
Permalink:
fabge/crispy-daisyui@4bef3434f222308b9eef92cf234ff251a425119c -
Branch / Tag:
refs/tags/v0.12.0 - Owner: https://github.com/fabge
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@4bef3434f222308b9eef92cf234ff251a425119c -
Trigger Event:
release
-
Statement type: