API reference

This page provides a reference to the API. See the Usage page for a detailed guide on using the API.

class ModelAdmin

Replacement for DJango’s ModelAdmin.

list_display

Used for specifying which fields appear in the list page table. It works similar to Django admin’s.

It can accept field names and method names.

list_filters

Used for configuring the filters for the list page. It’s not similar to Django admin.

See Usage docs for details.

get_filtered_queryset(request, queryset, query_params)

This method can be used for implementing search and filters.

Parameters
  • request – The current request instance.

  • queryset – The queryset for the list page.

  • query_params – The query parameters sent with the request.