{"repo":"ahmedaljawahiry/django-admin-site-search","free":true,"listed":false,"github":"https://github.com/ahmedaljawahiry/django-admin-site-search","clone":"git clone https://github.com/ahmedaljawahiry/django-admin-site-search.git","description":"A search (cmd+k) modal, for the Django admin UI, that searches your entire site.","language":"Python","stars":141,"topics":["alpinejs","django","django-admin","search","site-search","kbar"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"django-admin-site-search -100%25-brightgreen.svg) -TBD-green.svg) A global/site search modal for the Django admin. Features - 🎩 Works out-of-the-box, with minimal config. - 🔎 Search performed on: - App labels. - Model labels and field attributes. - Model instances, with two options for a search method: 1. model char fields ( default ): All CharField (and subclass) values, with icontains . 2. admin search fields : Invoke each ModelAdmin's get search results(...) method. - 🔒 Built-in auth: users can only search apps and models that they have permission to view. - ⚡ Results appear on-type, with throttling/debouncing to avoid excessive requests. - 🎹 Keyboard navigation (cmd+k, up/down, enter). - ✨ Responsive, and supports dark/light mode. - Django's built-in CSS vars are used to match your admin theme. Requirements - Python 3.10 - 3.14. - Django 3.2 - 6.1. Setup 1. Install 1. Install with your package manager, e.g. pip install django-admin-site-search . 2. Add admin site search to your INSTALLED APPS setting. 2. Add View 1. If you haven't already, override/extend the default AdminSite. 2. Add the AdminSiteSearchView to your AdminSite: 3. Add Templates 1. If you haven't already, create admin/base site.html in your templates/ directory. - Note: if your templates/ directory is inside of an app, then that app must appear in INSTALLED APPS before your custom admin app. 2. Include the admin site search templates: Notes - Along with styles, admin site search/head.html loads Alpine J","default_branch":null,"files":null,"tree":[],"storefront":"/r/ahmedaljawahiry","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ahmedaljawahiry/django-admin-site-search/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}