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.4 (2020-01-22)
First acceptable version.
Release files for django-admin-autocomplete-all 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-admin-autocomplete-all-0.1.4.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_admin_autocomplete_all-0.1.4-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.6 kB
Release files / django-admin-autocomplete-all-0.1.4.tar.gz
| Download URL | django-admin-autocomplete-all-0.1.4.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5f08ef39311f9b7ad3582f179f200571e6860a0d6892cebda0aa87041c514539
|
|
BLAKE2b-256 checksum How to use checksums |
c566c6994ec94e715a931972fc3eab8c9618ce1b62b091d6a180bbaf2ed48b81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5rc1
|
Release files / django_admin_autocomplete_all-0.1.4-py2.py3-none-any.whl
| Download URL | django_admin_autocomplete_all-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
c0fee35d671e722f18ee6bf9a0039bae09ae9e4fa26c81b0ea0978d7584ad024
|
|
BLAKE2b-256 checksum How to use checksums |
9d7cf68bc7a2d914ed054b94a498bf345fe2d8a466441e188d7e6f62c545ba4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5rc1
|