Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django app to switch boolean fields from list view

Project Description
.. image:: https://badge.fury.io/py/django-boolean-switch.svg
:target: http://badge.fury.io/py/django-boolean-switch

=====
django-boolean-switch
=====

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

Usage
-----------

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::

INSTALLED_APPS = (
...
'boolean_switch',
)

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

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

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:: http://s30.postimg.org/hqngbv1up/ezgif_com_resize.gif
Release History

Release History

This version
History Node

0.2.8.7

History Node

0.2.8.6

History Node

0.2.8.5

History Node

0.2.8.4

History Node

0.2.8.3

History Node

0.2.8.2

History Node

0.2.8

History Node

0.2.7

History Node

0.2.6

History Node

0.2.5

History Node

0.2.4

History Node

0.2.3

History Node

0.2.2

History Node

0.2

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-boolean-switch-0.2.8.7.tar.gz (4.2 kB) Copy SHA256 Checksum SHA256 Source Feb 12, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting