dynamic mixin search for all apis
This commit is contained in:
@@ -383,8 +383,8 @@ JAZZMIN_SETTINGS = {
|
||||
# Copyright on the footer
|
||||
"copyright": "Acme Library Ltd",
|
||||
|
||||
# List of model admins to search from the search bar, search bar omitted if excluded
|
||||
# If you want to use a single search field you dont need to use a list, you can use a simple string
|
||||
# List of model admins to filter from the filter bar, filter bar omitted if excluded
|
||||
# If you want to use a single filter field you dont need to use a list, you can use a simple string
|
||||
"search_model": ["auth.User", "auth.Group"],
|
||||
|
||||
# Field name on user model that contains avatar ImageField/URLField/Charfield or a callable that receives the user
|
||||
|
||||
@@ -37,7 +37,7 @@ urlpatterns = [
|
||||
path('herd/', include('apps.herd.urls')),
|
||||
path('livestock/', include('apps.livestock.urls')),
|
||||
path('tag/', include('apps.tag.urls')),
|
||||
path('search/', include('apps.search.urls')),
|
||||
path('filter/', include('apps.search.urls')),
|
||||
path('product/', include('apps.product.urls')),
|
||||
path('warehouse/', include('apps.warehouse.urls')),
|
||||
path('pos_device/', include('apps.pos_device.urls')),
|
||||
|
||||
Reference in New Issue
Block a user