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
-
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!
.. image:: http://s30.postimg.org/hqngbv1up/ezgif_com_resize.gif
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-boolean-switch-0.2.9.tar.gz.
File metadata
- Download URL: django-boolean-switch-0.2.9.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
490d88322d67275d34c784a60ea383f06b3315cbea19412ffcd13eb699451ef3
|
|
| MD5 |
312806d7dbfeb79d5b75d37ca18906e4
|
|
| BLAKE2b-256 |
79c39689ba2043df2a6366917f369eef946c3d491c4da8167a8b4a89a856f2c3
|
File details
Details for the file django_boolean_switch-0.2.9-py3-none-any.whl.
File metadata
- Download URL: django_boolean_switch-0.2.9-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56740a206b1656771b5890456fd9d8c697023219bf3487204d9278b04cc45266
|
|
| MD5 |
d8c2d72d2895c1a02823bedd4eb1af79
|
|
| BLAKE2b-256 |
b83c246f2a835042cfe27b70201bcc56d683646e8868c7de81e43becd637a52b
|