everyone!
Just published a package: django-admin-site-search. Grateful for any early testers and/or feedback
- 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.
- Subclasses also included:
- 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.