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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c10e7a520d1a51d0ebb0546332b0c104033699914a1646a44d92a1ff2e975d8a |
|
MD5 | 130a234398d72f7fdd43d5ddc7b0d2d4 |
|
BLAKE2b-256 | bb1aaf732a6ea0be03f8b39b08d8f25a10889ec7ddee35e7d8331535d738d287 |