Simple app to change your boolean fields in admin list view quickly in one click
Getting the code for the latest stable release use 'pip':
pip install django-boolean-switch
Add "boolean_switch" to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'boolean_switch', )
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)),
Use mixin to modify you admin output:
from boolean_switch.admin import AdminBooleanMixin class MyModelAdmin(AdminBooleanMixin, admin.ModelAdmin): list_display = ['sometitle', 'somebooleanfiled']
Now you can change boolean fields flag from list view in one click!