anvil_consortium_manager.adapters.account module
Contains base adapter for accounts.
- class anvil_consortium_manager.adapters.account.BaseAccountAdapter
Bases:
abc.ABCBase class to inherit when customizing the account adapter.
- get_autocomplete_label(account)
Adapter to provide a label for an account in autocomplete views.
- get_autocomplete_queryset(queryset, q)
Filter the Account queryset using the query q for use in the autocomplete.
- get_list_filterset_class()
Return the FilterSet subclass to use for Account filtering in the AccountList view.
- get_list_table_class()
Return the table class to use for the AccountList view.
- abstract property list_filterset_class
FilterSet subclass to use for Account filtering in the AccountList view.
- abstract property list_table_class
Table class to use in a list of Accounts.
- anvil_consortium_manager.adapters.account.get_account_adapter()