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.

Build and apply complex searches on model instances right in the backend without any coding. Save and reuse your searches by a handy django admin filter with a single click.

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.2.tar.gz (17.1 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.2-py3-none-any.whl (83.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_searchkit-1.2.tar.gz
  • Upload date:
  • Size: 17.1 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.2.tar.gz
Algorithm Hash digest
SHA256 961985e15538d6a724c020b46c8c4c618058a94cd8f78eb18f69dc4136f4cc9c
MD5 e5a339021d0afc11ac3caf4328b0eccd
BLAKE2b-256 be538d8e9df461696aff7bf6a11623e72dbdaddca5480566126cecb4864fb6ca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: django_searchkit-1.2-py3-none-any.whl
  • Upload date:
  • Size: 83.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 758ffa04218ec8610b966bc361931a7ce5e722e9d3304e62ac6f7c5e2dadf868
MD5 a23ea31d9dae56594bb4b597161afc8c
BLAKE2b-256 c02e1a55de66cdcf51b5a8459c7c2de95cb94ac1e721ffbae187f4b4ce330189

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