Skip to main content

Django app to switch boolean fields from list view

Project description

.. image::


Simple app to change your boolean fields in admin list view quickly in one click


1. Getting the code for the latest stable release use 'pip'::

pip install django-boolean-switch

2. Add "boolean_switch" to your INSTALLED_APPS setting like this::


3. Include the boolean_switch URLconf in your project like this::

url(r'^admin/', include('boolean_switch.urls')),
url(r'^admin/', include(,

4. Use mixin to modify you admin output::

from boolean_switch.admin import AdminBooleanMixin

class MyModelAdmin(AdminBooleanMixin, admin.ModelAdmin):
list_display = ['sometitle', 'somebooleanfiled']

5. Now you can change boolean fields flag from list view in one click!

.. image::

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-boolean-switch- (4.2 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page