djangoadminshuffle 0.1.7
django-admin-shuffle simply shuffles objects on admin changelist view.
This app supports the following combinations of Django and Python:
Django
Python
2.1
3.6, 3.7, 3.8
2.2
3.6, 3.7, 3.8
3.0
3.6, 3.7, 3.8
Installation
Add “admin_shuffle” to your INSTALLED_APPS setting like this
INSTALLED_APPS = [
...
'admin_shuffle',
]
Integration Example
Add mixin to your admin model like this
from admin_shuffle import AdminShuffleMixin
class ExampleAdmin(AdminShuffleMixin, models.ModelAdmin):
pass
Settings
SHUFFLE_QS_VALUE: Value of query string. By default, it is set to 'SHUFFLE'
SHUFFLE_LABEL: Label of the button that shuffles. By default, it is set to 'SHUFFLE'
Development / Example
Run python -m django migrate --settings=example.settings to migrate.
Run python -m django runserver --settings=example.settings to run server.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.