# django-admin-site-search: A search (cmd+k) modal, for the admin, that searches your entire site

**URL:** <https://forum.djangoproject.com/t/django-admin-site-search-a-search-cmd-k-modal-for-the-admin-that-searches-your-entire-site/19823>\
**Category:** Show & Tell\
**Created:** [March 27, 2023, 12:00pm UTC](https://forum.djangoproject.com/t/django-admin-site-search-a-search-cmd-k-modal-for-the-admin-that-searches-your-entire-site/19823 "2023-03-27T12:00:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmedaljawahiry](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/ahmedaljawahiry/32/12920_2.png) [@ahmedaljawahiry](https://forum.djangoproject.com/u/ahmedaljawahiry)\
**Post date:** [March 27, 2023, 12:00pm UTC](https://forum.djangoproject.com/t/django-admin-site-search-a-search-cmd-k-modal-for-the-admin-that-searches-your-entire-site/19823/1 "2023-03-27T12:00:26Z")

</div>

👋 everyone!

Just published a package: [django-admin-site-search](https://github.com/ahmedaljawahiry/django-admin-site-search). Grateful for any early testers and/or feedback 🙏

![demo](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/2X/9/9da7780f2f5f18da21ae06aa766ea1c22ac5d9db.gif)

- 🎩 Works out-of-the-box, with minimal config.
- 🔎 Search performed on:
  - App labels.
  - Model labels and field attributes.
  - `CharField` values (with `__icontains`).
    - Subclasses also included: `SlugField`, `URLField`, etc.

- 🔒 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.

---

<div class="post-metadata">

**Author:** ![addwebsolution](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/addwebsolution/32/23762_2.png) [@addwebsolution](https://forum.djangoproject.com/u/addwebsolution)\
**Post date:** [March 27, 2023, 12:33pm UTC](https://forum.djangoproject.com/t/django-admin-site-search-a-search-cmd-k-modal-for-the-admin-that-searches-your-entire-site/19823/2 "2023-03-27T12:33:52Z")

</div>

Wow amazing, this can be useful for the multiple models within project  
Thanks for sharing this 🤟
