summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-05-23 22:19:01 -0400
committereliott <eliott@cactuswax.net>2008-05-23 22:19:01 -0400
commitbb81372adcec6232ebf644514622c85cacde02e9 (patch)
treebb1a01f374404cc2cbb07ae0c71f7016885bce3e /main
parent45b1c2593e4f1433351c01dae7b63dfd146aa530 (diff)
Added more meta to the admin interface for the press model.
Diffstat (limited to 'main')
-rw-r--r--main/models.py1
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