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
| Attribute | Type | Description |
|---|---|---|
| list_display | tuple = ("domain", "name") | A tuple of field names from the Site model to be displayed as columns in the admin change list view. |
| search_fields | tuple = ("domain", "name") | A list of fields that are searchable via the admin interface's search bar to filter site records. |