Skip to main content

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)

Table of built distributions (wheels) for crispy-forms-primer 0.4.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.4.4 This release

1 release file

0.4.3

1 release file

0.4.2

1 release file

0.4.1

1 release file

0.4.0

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page