Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-checkbox-normalize

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-checkbox-normalize

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

  • 0.2.1
  • PyPI
  • Socket score

Maintainers
1

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
django-checkbox-normalize preview

django-checkbox-normalize preview

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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc