Package: django-admin-search
Django Admin SearchThe "Django Admin Search" is a advanced search modal for django admin.If you use or like the project, clickStarandWatchto generate metrics and i evaluate project continuity.Install:pip install django-admin-searchUsage:Add to your INSTALLED_APPS, in settings.py:INSTALLED_APPS = [  
    ...
    'django_admin_search',
    ...
]Create a search form for model:from .models import Area
from django.forms import ModelForm, Form
from django.forms import DateField, CharField, ChoiceField, TextInput


class YourFormSearch(Form):
    name = CharField(required=False)
    date = DateField(required=False, widget=TextInput(
        attrs={ 
            'filter_method': '__gte',
        }
    ))In your admin:from django_admin_search.admin import AdvancedSearchAdmin
from .models import YourModel
from .form import YourForm, YourFormSearch

@register(YourModel)
class YourAdmin(AdvancedSearchAdmin):
    form = YourForm
    search_form = YourFormSearchAdvanced:to multiple filters in same field:class YourFormSearch(Form):
    ...
    name = CharField(required=False)
    begin = DateField(required=False, widget=TextInput(
        attrs={
            'filter_field': 'date', 
            'filter_method': '__gte',
        }
    ))
    end = DateField(required=False, widget=TextInput(
        attrs={
            'filter_field': 'date', 
            'filter_method': '__lte',
        }
    ))add placeholder and maskclass YourFormSearch(Form):
    ...
    date = DateField(required=False, widget=TextInput(
        attrs={
            'data-mask': "00/00/0000", 
            'placeholder': 'MM/DD/YYYY'
        }
    ))Custom filter query for a fieldfrom django_admin_search.admin import AdvancedSearchAdmin
from .models import YourModel
from .form import YourForm, YourFormSearch

@register(YourModel)
class YourAdmin(AdvancedSearchAdmin):
    def search_FieldNameHere(request, field_value, param_values):
        """
            intercept query filter for description field
        """
        query = Q()
        # your Q logic here
        return queryImages:Button in admin list:Modal opened:Development and Running the TestsTo do development work for Django Admin Search, clone it locally, make and activate a virtualenv for it, then from within the project directory:pip install -e ".[dev]"To run the tests:pytestIf your work in high difficult test, and need to re run the test every time, usepytest-watch:ptw  # this see file change and re run a testwhen you need to see passed lines by test, runpytest --cov-report htmlafter this, will be created ahtmlcovfolder in the rootTo run sonarpytest --cov-report xml
pylint ./django_admin_search/ --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" | tee pylint.txt
sonar-scannerSee your code quality in Sonar (in testing, no metrics to approve yet)https://sonarcloud.io/dashboard?id=shinneider_django-admin-searchFor future i want to run test's in Travis CI, to check if PR is Ok, but to be effective, i need to cover 80% or more of the code, help-me creating a test case, see this issuePR - 20Need a MaintainerIn the last months i don't have much time, health problemas, change of country and others problems.i have some surgeries for first part of 2022, and all of my current project don't use django-admin.for these reasons, i need a help for a project continuation!!