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.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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f08ef39311f9b7ad3582f179f200571e6860a0d6892cebda0aa87041c514539 |
|
MD5 | 62056ef31ab76881ad0ee6060100c710 |
|
BLAKE2b-256 | c566c6994ec94e715a931972fc3eab8c9618ce1b62b091d6a180bbaf2ed48b81 |
Hashes for django_admin_autocomplete_all-0.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0fee35d671e722f18ee6bf9a0039bae09ae9e4fa26c81b0ea0978d7584ad024 |
|
MD5 | 9e8ce807a13db6955a7e68264b07c86b |
|
BLAKE2b-256 | 9d7cf68bc7a2d914ed054b94a498bf345fe2d8a466441e188d7e6f62c545ba4e |