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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-admin-autocomplete-all-0.1.4.tar.gz.
File metadata
- Download URL: django-admin-autocomplete-all-0.1.4.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f08ef39311f9b7ad3582f179f200571e6860a0d6892cebda0aa87041c514539
|
|
| MD5 |
62056ef31ab76881ad0ee6060100c710
|
|
| BLAKE2b-256 |
c566c6994ec94e715a931972fc3eab8c9618ce1b62b091d6a180bbaf2ed48b81
|
File details
Details for the file django_admin_autocomplete_all-0.1.4-py2.py3-none-any.whl.
File metadata
- Download URL: django_admin_autocomplete_all-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 2, Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c0fee35d671e722f18ee6bf9a0039bae09ae9e4fa26c81b0ea0978d7584ad024
|
|
| MD5 |
9e8ce807a13db6955a7e68264b07c86b
|
|
| BLAKE2b-256 |
9d7cf68bc7a2d914ed054b94a498bf345fe2d8a466441e188d7e6f62c545ba4e
|