Skip to main content

Welcome to django-searchkit

Description

Finally there is a real searchkit application for django that integrates best with the django admin backend.

You have tons of admin changelist filters and still you are not able to filter your items exactly as you need it? Or once and again you need a combination of several changelist filters and you are tired of waiting for each filter being applied one after the other? Or you just don't want to write a custom changelist filter for each special requirement of your customers.

Then django-searchkit is for you. Give it a try. You get a nice and handy formset to build complex searches with as many filter rules as you want over all of your model fields or the fields of related models.

Features

  • Build and apply complex searches using a dynamic formset with a ...
  • ...clear and easy to use layout.
  • Add as many filter rules as you want using django's various field lookups.
  • Chain filter rules by logical operators like AND or OR.
  • Filter over fields of related models.
  • Save and reuse your searches at any time by a handy admin changelist filter.

Setup

Install via pip:

pip install django-searchkit

Add searchkit to your INSTALLED_APPS:

INSTALLED_APPS = [
   'searchkit',
   'django.contrib.admin',
   ...
]

Put searchkit in front of django.contrib.admin since we do some template overwriting.

Include the searchkit.urls into your project urlpatterns:

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

Add the SearkitFilter to your ModelAdmin:

from django.contrib import admin
from searchkit.filters import SearchkitFilter
from .models import MyModel


@admin.register(MyModel)
class MyModelAdmin(admin.ModelAdmin):
   ...
    list_filter = [
      SearchkitFilter,
      ...
      ]
   ...

Usage

  1. Open the admin changelist of your Model.
  2. Click the "Add search" button of the Searchkit filter.
  3. Give your Filter a name.
  4. Configure as many filter rules as you want.
  5. Click "Save and apply".
  6. Reuse your filter whenever you want using the Searchkit filter section.

Contribute

Contributions as feedback, feature requests, bug reports or pull requests are most welcome. Just use the common github infrastructure.

Metadata

Release files for django-searchkit 2.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-searchkit 2.3.0
File Size Uploaded Provenance Actions
django_searchkit-2.3.0.tar.gz 28.0 kB Without provenance Details for django_searchkit-2.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-searchkit 2.3.0
File Interpreter ABI Platform Actions
django_searchkit-2.3.0-py3-none-any.whl Python 3 none any Details for django_searchkit-2.3.0-py3-none-any.whl

Total release size: 63.0 kB

Release files / django_searchkit-2.3.0.tar.gz

Download URL django_searchkit-2.3.0.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6b86c24274c4b688063f111be1d5bcacb03ad42104a7fb7060ee648efe94f3dc
BLAKE2b-256 checksum
How to use checksums
b36f2e0672527a73a44102dde1dd92d6ea4506ef1e1514742ed4b8352a247f04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Release files / django_searchkit-2.3.0-py3-none-any.whl

Download URL django_searchkit-2.3.0-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45752e9d40e6421706caa5f3bd59df093fc865d18827c590df43b0e67829b8bb
BLAKE2b-256 checksum
How to use checksums
a97e8ece75418bba716d49ec2b07107aca5b14677d980d78818321a726937e50
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.1

Security for django-searchkit 2.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page