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.0 (2020-01-22)
First release on PyPI.
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
Close
Hashes for django-admin-autocomplete-all-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19490e7bb0a0f1b624ecbff72feccfd3901b01714ff08a96e5b443c52336ac6f |
|
MD5 | 9cdea7187f925adf5db9f5aa6e09cc66 |
|
BLAKE2b-256 | d8a962188ad859a17cb5555b9353214424b76bdefd75a5851eafa7a5bf062328 |
Close
Hashes for django_admin_autocomplete_all-0.1.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 680a9e40c66bef3546047dcf90f29d9ff81cfcae84eb1e2c55961702e0528a1c |
|
MD5 | 23b21a5a366987e45c844ac701218f59 |
|
BLAKE2b-256 | 3a4a1fc64c6bd125f08bc2a824a53a086bca46bec4d7e53562bca33f69896f02 |