diff --git a/django/models/core.py b/django/models/core.py index c4327ee649..2c4399bfa7 100644 --- a/django/models/core.py +++ b/django/models/core.py @@ -11,6 +11,10 @@ class Site(meta.Model): verbose_name_plural = _('sites') db_table = 'sites' ordering = ('domain',) + admin = meta.Admin( + list_display = ('domain', 'name'), + search_fields = ('domain', 'name'), + ) def __repr__(self): return self.domain