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.

Files for django-admin-search-builder, version 0.2.2
Filename, size File type Python version Upload date Hashes
Filename, size django-admin-search-builder-0.2.2.tar.gz (8.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page