Skip to main content

django-checkbox-normalize

It's NOT a good design to put label after checkbox for BooleanField widget, so let's make it normal.

Install

pip install django-checkbox-normalize

Usage

Settings

Add django_checkbox_normalize to settings.INSTALLED_APPS.

INSTALLED_APPS = [
    ...
    'django_checkbox_normalize',
    ...
]

Normalize for all model admins

Add DJANGO_CHECKBOX_NORMALIZE_FOR_ALL = True in pro/settings.py.

DJANGO_CHECKBOX_NORMALIZE_FOR_ALL = True

Normalize for one model admin

Add DjangoCheckboxNormalizeAdmin to one modeladmin.

class MyModelAdmin(DjangoCheckboxNormalizeAdmin, admin.ModelAdmin):
    pass

Releases

v0.1.0

  • First release.

v0.1.1

  • Fix BooleanField field style under small screen size.

v0.1.2

  • Add LICENSE file.

v0.2.0

  • Instead of using template rewrite, use js dynamic repairing method.
  • Add DjangoCheckboxNormalizeAdmin to normalize one site.
  • Add DJANGO_CHECKBOX_NORMALIZE_FOR_ALL = True to normalize for all modeladmins.

v0.2.1

  • Doc update.

v0.2.2

  • Doc update.

Metadata

Release files for django-checkbox-normalize 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-checkbox-normalize 0.2.2
File Size Uploaded Provenance Actions
django_checkbox_normalize-0.2.2.tar.gz 4.1 kB Without provenance Details for django_checkbox_normalize-0.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-checkbox-normalize 0.2.2
File Interpreter ABI Platform Actions
django_checkbox_normalize-0.2.2-py3-none-any.whl Python 3 none any Details for django_checkbox_normalize-0.2.2-py3-none-any.whl

Total release size: 8.8 kB

Release files / django_checkbox_normalize-0.2.2.tar.gz

Download URL django_checkbox_normalize-0.2.2.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
767b95c8a22217d1fa4a85358464b037d9b220c13f14d2903f34d8625d0c39c2
BLAKE2b-256 checksum
How to use checksums
19fc0c7b551f0343f133cca316c1dbf0e88eb5c9a1bf80bdae55820830db9b82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release files / django_checkbox_normalize-0.2.2-py3-none-any.whl

Download URL django_checkbox_normalize-0.2.2-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80c0ce4759fe786338f900055bf29c08747e364df42c749c63f6c6e721423196
BLAKE2b-256 checksum
How to use checksums
e2fcf5abf5b8080a0c2ef114c84875c881820461d9cb73660fc53cf801e261ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Security for django-checkbox-normalize 0.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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