Skip to main content

Add a search bar for registered models in Django admin

Project description

Django Admin Models Search

A Django package that adds a global search bar to the Django admin interface, allowing you to quickly search and navigate between registered models.

Features

  • Adds a global search bar to the Django admin header.
  • Provides suggestions for registered models as you type.
  • Supports keyboard navigation for quick access.
  • Fully customizable and easy to integrate.

Installation

Install the package via pip:

pip install django-admin-models-search

Configuration

  1. Add the app to your INSTALLED_APPS in settings.py
INSTALLED_APPS = [
    # Other apps...
    'django_admin_models_search',
]
  1. Include the package's URLs in your urls/admin.py

path should be admin/model-suggestions/

from django.urls import path, include

urlpatterns = [
    path('', include('django_admin_models_search.urls')),
]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_admin_models_search-1.0.1.post1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file django_admin_models_search-1.0.1.post1.tar.gz.

File metadata

File hashes

Hashes for django_admin_models_search-1.0.1.post1.tar.gz
Algorithm Hash digest
SHA256 dba6d01919110bc97b5b5efde7c51a38640f9862fa7d95f4ceffb0146514e4fa
MD5 7685ecdd5083c1be59d1a3c4b0706c8f
BLAKE2b-256 6c152189ae98379fa0a7ebebd9381f06ff6d8e66442aa41e369c54941bd01c31

See more details on using hashes here.

File details

Details for the file django_admin_models_search-1.0.1.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_admin_models_search-1.0.1.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 5866a87f8bac5b1418dbbda96b148f94364c26739944fb8169478b3a8999c84e
MD5 5856aa984d135c300f1829373c4f6745
BLAKE2b-256 fc5b5c6b97c8bb93d732c92480596e697638277c26031e44d422affedd95b41c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page