Django app to switch boolean fields from list view
Project description
Simple app to change your boolean fields in admin list view quickly in one click
Usage
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')),
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-boolean-switch-0.2.8.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3446d0b6c66985746c66dbca4b662971d93d80ca586929de13530453a6c7d4c9 |
|
MD5 | 50e4ec62f5ad5185cc28318291a17382 |
|
BLAKE2b-256 | c6dc986f5538f9eafec427c8821bc4573d18bd5ac2f33a3c31b31528ba64d4ae |