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.6 (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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b51f049a99faf489b4c0078f6ce3a9102920ed09dd0a072f7bb9c5810c7e1aa |
|
MD5 | e5dd6c324022977f3fc8bdbb22284bb9 |
|
BLAKE2b-256 | e633ad755131884bf6f3ae2c46568892c80c61f3a7532d0f497b7d5317836c67 |
Hashes for django_admin_autocomplete_all-0.1.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caa2d19eaf49768777054a2b09c90472b96c8e47d29e25c0c07a2a9433ee2be2 |
|
MD5 | ae4d1eb56b25e784ae5da248b2aa45f5 |
|
BLAKE2b-256 | 85ee6841418ca1f2521e6cab1c9479177c763b0c4c4078b8c767ef9ff272cbce |