django-admin-sbf 0.5

Creator: codyrutscher

Last updated:

Add to Cart

Description:

djangoadminsbf 0.5

Django Admin SBF is a Django admin app to customise the default search functionality to search by specific field instead
of all the fields. This helps in reducing the SQL query overload when there are too much data to process
and multiple fields to search from.
Detailed documentation is in the “docs” directory.

Quick start

Install

pip install django-admin-sbf

Add “django_admin_sbf” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [
...
'django_admin_sbf',
]

Extent the admin class for any model using DjangoAdminSBF instead of ModelAdmin
Define search_fields same as Django default.



Screenshots



Example
@admin.register(Education)
class EducationAdmin(DjangoAdminSBF):

search_fields = [
'course',
'subject
]

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.