Wildewidgets Integration Reference
Classes
- class ldaporm.wildewidgets.LdapModelTableMixin[source]
Bases:
objectA mixin that makes
BasicModelTablework withldaporm.models.Model.- search(qs: F, value: str) list[ldaporm.models.Model][source]
Apply a global search across all searchable columns.
This method is called when a user enters a search term in the main dataTables.js search input. It applies the search across all searchable columns and returns distinct results.
- Parameters:
qs – The queryset to search
value – The search term
- Returns:
The filtered queryset containing only matching records
- Return type:
models.QuerySet
- search_query(qs: F, value: str) F | None[source]
Build a
ldaporm.managers.Fobject for performing global search across multiple columns.This method constructs a query that searches all searchable columns for the given value, using OR logic to match records that have the value in any searchable column.
- Parameters:
qs – The
ldaporm.managers.Fobjectvalue – The search term to look for
- Returns:
- An ldaporm
Fobject representing the search, or
Noneif no searchable columns exist
- An ldaporm
- Return type:
F | None
- model: type[ldaporm.models.Model]