aboutsummaryrefslogtreecommitdiffstats
path: root/notice/templates
diff options
context:
space:
mode:
Diffstat (limited to 'notice/templates')
-rw-r--r--notice/templates/notice/list_notice.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/notice/templates/notice/list_notice.html b/notice/templates/notice/list_notice.html
index 77d194c..2a2703b 100644
--- a/notice/templates/notice/list_notice.html
+++ b/notice/templates/notice/list_notice.html
@@ -29,7 +29,7 @@
{% if notice.attachments %}
<div class="notice-attachment">
<ul class="list-unstyled">
- {% for attachment in notice.get_attachment_list %}
+ {% for attachment in notice.attachments.all %}
<li>
附件{{ forloop.counter }}:
<a href="{{ attachment.attachment.url }}">{{ attachment.title }}</a>