Skip to main content

SiteAdmin

This class provides a customized administrative interface for managing site records. It configures the display and search functionality for site domains and names within the admin panel.

Attributes

AttributeTypeDescription
list_displaytuple = ("domain", "name")A tuple of field names from the Site model to be displayed as columns in the admin change list view.
search_fieldstuple = ("domain", "name")A list of fields that are searchable via the admin interface's search bar to filter site records.