Skip to main content

Django Admin Search Builder

Project description

django-admin-search-builder

Django app that makes you able to build advanced queries via admin filters UI

This Application aims to give you the faster and easier way to build and run advanced queries through the Django Admin ModelAdmin User Interface, using Django's ORM. See the example project and the gallery.

Setup

pip install django-admin-search-builder

in settings.INSTALLED_APPS add

    'admin_adv_search_builder',

in your ModelAdmin, use the following example

from admin_adv_search_builder.filters import AdvancedSearchBuilder
from django.contrib import admin

from . models import Identity


@admin.register(Identity)
class IdentityAdmin(admin.ModelAdmin):
    list_filter   = (AdvancedSearchBuilder,)

Example

pip install -r requirements.xt

cd example
./manage.py migrate
./manage.py createsuperuser
./manage.py loaddata identity_dumps.json
./manage.py runserver

Gallery

Alt text

Authors

Giuseppe De Marco

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-search-builder-0.2.2.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file django-admin-search-builder-0.2.2.tar.gz.

File metadata

  • Download URL: django-admin-search-builder-0.2.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for django-admin-search-builder-0.2.2.tar.gz
Algorithm Hash digest
SHA256 b4eb67326136b48f54382be749256f35e6b10f84f81cb677d3728b4aba324f02
MD5 d8d15a3f8d7b34ae00c3b9b2bc7f27fb
BLAKE2b-256 cc3a46a90415a73b011e8c06f340efe2509a970fdde6baedd76d8c81de95292a

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