From 53fab66f5b584d071b05f81da34ec136331ad143 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Fri, 25 Apr 2014 23:02:13 +0800 Subject: * deleted 'Notice.publisher' field * added 'blank=True' to 'NoticeAttachment.description' field * fixed attachment issue with 'list_notice.html' template --- notice/templates/notice/list_notice.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'notice/templates') diff --git a/notice/templates/notice/list_notice.html b/notice/templates/notice/list_notice.html index 2a2703b..14355f0 100644 --- a/notice/templates/notice/list_notice.html +++ b/notice/templates/notice/list_notice.html @@ -26,7 +26,7 @@
{{ notice.contents }}
- {% if notice.attachments %} + {% if notice.attachments.all %}