https://github.com/yiling-j/django-admin-select-search
Add a select box to django admin search.
https://github.com/yiling-j/django-admin-select-search
django python
Last synced: over 1 year ago
JSON representation
Add a select box to django admin search.
- Host: GitHub
- URL: https://github.com/yiling-j/django-admin-select-search
- Owner: Yiling-J
- Created: 2017-06-12T10:35:11.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-08-30T05:05:11.000Z (almost 4 years ago)
- Last Synced: 2025-03-25T08:22:49.110Z (over 1 year ago)
- Topics: django, python
- Language: Python
- Size: 9.77 KB
- Stars: 8
- Watchers: 0
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django-admin-select-search
Add a select box to django admin search.
## Getting Started
This is a django app that add a select box to admin search form.


```search_fields = ('id', 'title', 'author__full_name')```
### Prerequisites
django 1.10
### Installing
This is nothing but a django app. So just copy searchadmin to your project folder,
add to your install apps, then use it instead of old django admin.
```
from searchadmin.admin import SelectModelAdmin
class NewAdmin(SelectModelAdmin)
pass
```