diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-25 23:02:13 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-25 23:02:13 +0800 |
commit | 53fab66f5b584d071b05f81da34ec136331ad143 (patch) | |
tree | b8c00e38352f10ca8f8e881d0b0ded899c390fa6 /notice/templates | |
parent | c0a125cf62c09336cbb73ab7385bd9dd93ba4cd4 (diff) | |
download | django-skaschool-53fab66f5b584d071b05f81da34ec136331ad143.tar.bz2 |
* deleted 'Notice.publisher' field
* added 'blank=True' to 'NoticeAttachment.description' field
* fixed attachment issue with 'list_notice.html' template
Diffstat (limited to 'notice/templates')
-rw-r--r-- | notice/templates/notice/list_notice.html | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ <div class="notice-content"> {{ notice.contents }} </div> - {% if notice.attachments %} + {% if notice.attachments.all %} <div class="notice-attachment"> <ul class="list-unstyled"> {% for attachment in notice.attachments.all %} |