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')),
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!
: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')),
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!
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9351ca3164636212251909c7b0783b53686a0481e53cc73a8b79a51d4a3123 |
|
MD5 | c4e19c73a309171dafc79885a2ece797 |
|
BLAKE2b-256 | 5c28c778a6896c3897e490556c6a1f9f87be9d6e5c09ee73ab0d5b5f348cd58c |