diff options
author | eliott <eliott@cactuswax.net> | 2008-05-24 04:19:01 +0200 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2008-05-24 04:19:01 +0200 |
commit | bb81372adcec6232ebf644514622c85cacde02e9 (patch) | |
tree | bb1a01f374404cc2cbb07ae0c71f7016885bce3e /main | |
parent | 45b1c2593e4f1433351c01dae7b63dfd146aa530 (diff) | |
download | archweb-bb81372adcec6232ebf644514622c85cacde02e9.tar.gz archweb-bb81372adcec6232ebf644514622c85cacde02e9.tar.xz |
Added more meta to the admin interface for the press model.
Diffstat (limited to 'main')
-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 333becc..6235152 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 |