Introduction
This is a Django application to add django-crispy-forms layout objects for Primer.
⚠ This app does not include Primer assets, you will have to install them yourself in your projects.
❗ This is pre-alpha software, I will be amending the initial commit for a while. You may not want to use it in production environment.
Prerequisites
Installation
The best way to install is by using pip:
$ pip install crispy-forms-primer
Or you could install the development version directly from GitHub:
$ pip install git+https://github.com/galeo/crispy-forms-primer
Add the app in INSTALLLED_APPS like this:
INSTALLED_APPS = (
...
'crispy_forms',
'crispy_forms_primer',
...
)
Change crispy template pack settings to start using it in your forms:
# Default layout to use with 'crispy_forms'
CRISPY_TEMPLATE_PACK = 'primer'
All other django-crispy-forms settings option apply, see its documentation for more details.
License
MIT License
Metadata
Release files for crispy-forms-primer 0.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| crispy_forms_primer-0.4.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / crispy_forms_primer-0.4.4-py3-none-any.whl
| Download URL | crispy_forms_primer-0.4.4-py3-none-any.whl |
|---|---|
| Size | 22.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e267bc20b5efed705763013d064b12b7d2c3119f5092728f302aca4b1e8ed90
|
|
BLAKE2b-256 checksum How to use checksums |
505f17d05a6f2a6e03f3a3bbd9c9b122ba98a8f4642aae725edb0f8ea45a215c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
|