All Projects → linevych → django-search-admin-autocomplete

linevych / django-search-admin-autocomplete

Licence: other
Simple django app that add autocomplete to search inside admin panel.

Programming Languages

javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to django-search-admin-autocomplete

Zsh Autocomplete
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
Stars: ✭ 641 (+2189.29%)
Mutual labels:  autocomplete, autocompletion
Autoprompt
Auto complete command prompts for C# .Net console apps
Stars: ✭ 22 (-21.43%)
Mutual labels:  autocomplete, autocompletion
Autocomplete
Suggests and completes words as you type! Write faster and more efficiently.
Stars: ✭ 18 (-35.71%)
Mutual labels:  autocomplete, autocompletion
Ide Stubs
Phalcon IDE Stubs
Stars: ✭ 137 (+389.29%)
Mutual labels:  autocomplete, autocompletion
zsh-yarn-completions
Yarn completions for Z-shell that supports yarn workspaces
Stars: ✭ 35 (+25%)
Mutual labels:  autocomplete, autocompletion
fast-autocomplete
Fast Autocomplete: When Elastcsearch suggestions are not fast and flexible enough
Stars: ✭ 201 (+617.86%)
Mutual labels:  autocomplete, autocompletion
Cmake Ide
Use Emacs as a C/C++ IDE
Stars: ✭ 661 (+2260.71%)
Mutual labels:  autocomplete, autocompletion
Modernsearchbar
The famous iOS search bar with auto completion feature implemented.
Stars: ✭ 167 (+496.43%)
Mutual labels:  autocomplete, autocompletion
Vim You Autocorrect
Why should smartphones get all the fun?
Stars: ✭ 173 (+517.86%)
Mutual labels:  autocomplete, autocompletion
vscode-allautocomplete
Autocomplete from open files for VSCode
Stars: ✭ 90 (+221.43%)
Mutual labels:  autocomplete, autocompletion
CLI-Autocomplete
Cross-platform flexible autocomplete library for your CLI applications.
Stars: ✭ 21 (-25%)
Mutual labels:  autocomplete, autocompletion
elm-selectize
selectize-like dropdown menu with autocompletion in elm
Stars: ✭ 28 (+0%)
Mutual labels:  autocomplete
AvalonHelper
avalon completion for sublime 3
Stars: ✭ 40 (+42.86%)
Mutual labels:  autocompletion
mern-admin-panel
Admin-panel using ReactJs, ExpressJs, NodeJs, MongoDB and Bootstrap
Stars: ✭ 84 (+200%)
Mutual labels:  admin-dashboard
react-material-admin
A simple responsive admin template using react and material-ui
Stars: ✭ 39 (+39.29%)
Mutual labels:  admin-dashboard
autocomplete
Laravel redis autocomplete
Stars: ✭ 27 (-3.57%)
Mutual labels:  autocomplete
vue-admin-better
🚀🚀🚀vue admin,vue3 admin,vue3.0 admin,vue后台管理,vue-admin,vue3.0-admin,admin,vue-admin,vue-element-admin,ant-design,vue-admin-beautiful-pro,vab admin pro,vab admin plus,vue admin plus,vue admin pro
Stars: ✭ 12,962 (+46192.86%)
Mutual labels:  admin-dashboard
mailserver-admin
Management interface for docker-mailserver.
Stars: ✭ 16 (-42.86%)
Mutual labels:  admin-dashboard
react-abstract-autocomplete
Bring-Your-Own-UI autocomplete / mentions component for React.
Stars: ✭ 15 (-46.43%)
Mutual labels:  autocomplete
Hotel-Management-System
Web Base Hotel Management System base on CI
Stars: ✭ 57 (+103.57%)
Mutual labels:  admin-dashboard

Django-search-admin-autocomplete

Simple django app that add autocomplete to search inside admin panel.

https://raw.githubusercontent.com/linevych/django-search-admin-autocomplete/master/doc/demo.gif

Requirements

  • Python: 3.5+
  • Django: >=1.11

Installation

pip install django-search-admin-autocomplete
# OR
pip install git+https://github.com/linevych/django-search-admin-autocomplete.git
INSTALLED_APPS = [
...
'search_admin_autocomplete',
...
]

Usage

from search_admin_autocomplete.admin import SearchAutoCompleteAdmin

class MyModelAdmin(SearchAutoCompleteAdmin)
    search_fields = ['search_field', ]

admin.site.register(MyModel, MyModelAdmin)

Customization

If admin/change_list.html is customized

admin.py

from search_admin_autocomplete.admin import SearchAutoCompleteAdmin

class MyModelAdmin(SearchAutoCompleteAdmin)

    change_list_template = 'admin/custom-list.html'

    search_fields = ['search_field', ]

admin.site.register(MyModel, MyModelAdmin)

admin/custom-list.html

{% extends 'search_admin_autocomplete/change_list.html' %}

{% block object-tools %}
Your custom html...
{{ block.super }}
{% endblock %}

MyPy

This project supports MyPy but to run type checks you need Python 3.6+.

pip install -r requirements_dev.txt
PYTHONPATH="$PYTHONPATH:$PWD/example" mypy search_admin_autocomplete
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].