From 23ed4bf91bc109d9133d22d2b640e15dceb1af1f Mon Sep 17 00:00:00 2001 From: luxagraf Date: Thu, 20 Jan 2011 21:45:53 -0500 Subject: exposed template name in blog admin --- apps/blog/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/blog/admin.py b/apps/blog/admin.py index ee6957e..cae0b59 100644 --- a/apps/blog/admin.py +++ b/apps/blog/admin.py @@ -17,7 +17,7 @@ class EntryAdmin(OSMGeoAdmin): else: field = super(EntryAdmin,self).formfield_for_dbfield(db_field,**kwargs) return field - list_display = ('title', 'pub_date','enable_comments', 'status','region','location','photo_gallery') + list_display = ('title', 'pub_date','template_name', 'status','region','location','photo_gallery') search_fields = ['title', 'body_markdown'] prepopulated_fields = {"slug" : ('title',)} list_filter = ('pub_date', 'enable_comments', 'status','region','location') -- cgit v1.2.3-70-g09d2