django admin: use select2 (autocomplete_fields) everywhere
Project description
Django admin: Use select2 (autocomplete_fields) everywhere. Implicit is better than explicit. Because it is brief and easy.
Documentation
The full documentation is at https://django-admin-autocomplete-all.readthedocs.io.
Quickstart
Install django-admin-autocomplete-all:
pip install django-admin-autocomplete-all
Features
Django admin: Use select2 (autocomplete_fields) everywhere.
In your admin.py import ModelAdmin, StackedInline and/or TabularInline from autocomplete_all instead of from admin.admin
import autocomplete_all
class MyModelAdmin(autocomplete_all.ModelAdmin):
....
Running Tests
Does the code actually work? /N/A while we haven’t the 1st test yet./
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install -r requirements_test.txt (myenv) $ tox
Credits
Tools used in rendering this package:
History
0.1.5 (2020-01-24)
Fix in docs: proper attribute name is: autocomplete_except
0.1.4 (2020-01-22)
First acceptable version.
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
Hashes for django-admin-autocomplete-all-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99bf3383dc79cf4cab8ea76e14eb824c9afe5a0157e9c5d80776073ecb11044d |
|
MD5 | 10d9fa6795d975c52f12805ec4a596ff |
|
BLAKE2b-256 | 1ca5f46dc6e1781ae5a490656f241d9c10983fc5b85c170506428d387e6723ee |
Hashes for django_admin_autocomplete_all-0.1.5-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8f3dd3d0242b325595293fa366db5a205f462463123d20172280a8d58fcbce3 |
|
MD5 | 23b3e4b00fffd481078781dc8c266853 |
|
BLAKE2b-256 | 00b53514c743addab1d3f296056fa4743301e57be3b1f93a582582a3d2ca7bd6 |