summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <thomas@lupin.entrouvert.com>2011-04-28 08:58:45 (GMT)
committerThomas NOEL <thomas@lupin.entrouvert.com>2011-04-28 08:58:45 (GMT)
commit9bdeaaa633ad1e244883dfd597597bf6eeb7cbe1 (patch)
tree617821951b75e6ed1032962fe3920340dceafb71
parent24663acdf1169a6946fc268d373ee33e27b4f0f0 (diff)
downloadsurveillao-9bdeaaa633ad1e244883dfd597597bf6eeb7cbe1.zip
surveillao-9bdeaaa633ad1e244883dfd597597bf6eeb7cbe1.tar.gz
surveillao-9bdeaaa633ad1e244883dfd597597bf6eeb7cbe1.tar.bz2
feeds/admin : display shortname
-rw-r--r--base/admin.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/base/admin.py b/base/admin.py
index b2148f7..743beb4 100644
--- a/base/admin.py
+++ b/base/admin.py
@@ -2,7 +2,8 @@ from base.models import Feed, Item
from django.contrib import admin
class FeedAdmin(admin.ModelAdmin):
- list_display = ['name', 'url', 'parsed_date']
+ list_display = ['shortname', 'name', 'url', 'parsed_date']
+ list_display_links = ['shortname', 'name']
ordering = ['parsed_date']
actions = ['read_feed']