From 7d10a0a72722d0641a53b7ac05c80ba34ada9c35 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 16 Feb 2012 19:35:09 +0530 Subject: [PATCH] show summary on static page --- pandora/item/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora/item/views.py b/pandora/item/views.py index 0a92b429..bea18296 100644 --- a/pandora/item/views.py +++ b/pandora/item/views.py @@ -1064,7 +1064,7 @@ def item(request, id): 'year', 'director', 'topic', - 'description' + 'summary' ] data = [] for key in keys: @@ -1096,7 +1096,7 @@ def item(request, id): } for key in ('title', 'description', 'keywords'): value = item.get({ - 'description': 'summary' in keys and 'summary' or 'description', + 'description': 'summary', 'keywords': 'topic' in keys and 'topic' or 'keywords' }.get(key, key)) if isinstance(value, list):