diff options
-rw-r--r-- | main/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/models.py b/main/models.py index 333becca..62351525 100644 --- a/main/models.py +++ b/main/models.py @@ -104,6 +104,7 @@ class Press(models.Model): db_table = 'press' verbose_name_plural = 'press' class Admin: + list_display = ('name', 'url') ordering = ['name'] search_fields = ('name') pass |