Skip to main content

Finally a real searchkit for django!

Project description

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 changlist filter for each special requirement of your customers.

Then django-searchkit is what you want. Give it a try.

Features

  • Build and apply complex searches using a dynamic form.
  • Add as many filter rules as you want using django's various field lookups.
  • 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',
   ...
]

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 filter" 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.

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_searchkit-1.4.tar.gz (17.8 kB view details)

Uploaded Source

Built Distribution

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

django_searchkit-1.4-py3-none-any.whl (158.5 kB view details)

Uploaded Python 3

File details

Details for the file django_searchkit-1.4.tar.gz.

File metadata

  • Download URL: django_searchkit-1.4.tar.gz
  • Upload date:
  • Size: 17.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for django_searchkit-1.4.tar.gz
Algorithm Hash digest
SHA256 fff1a4bb306a9eb3debaee43a4b7ce8444f0c22ac889814a2a6fec9fc18fc0ae
MD5 4f37e1b88ca3e85ff14db084e2005c21
BLAKE2b-256 7b8d7a3663773e6ded26351e185f62841b023c36a0133e0bce97ee4578836691

See more details on using hashes here.

File details

Details for the file django_searchkit-1.4-py3-none-any.whl.

File metadata

  • Download URL: django_searchkit-1.4-py3-none-any.whl
  • Upload date:
  • Size: 158.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for django_searchkit-1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 9d27ca4653d8c6d2bc272c4040d5e807c9d3a7086645f79c5dd176e2fc8a50b2
MD5 0bb11a80ed14307abdaaa9d88501cbab
BLAKE2b-256 2e8ab412bb6c4f66f83810a33d47af618bcac5f390d3e97fe8f89367e999499a

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