aboutsummaryrefslogtreecommitdiffstats
path: root/notice/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'notice/models.py')
-rw-r--r--notice/models.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/notice/models.py b/notice/models.py
index f5201d5..5fafeb5 100644
--- a/notice/models.py
+++ b/notice/models.py
@@ -32,11 +32,6 @@ class Notice(models.Model):
# used in 'list_notice.html' template
return self.pubtime.strftime('%Y-%m-%d')
- def get_attachment_list(self):
- # used in 'list_notice.html' template,
- # because 'GenericRelatedObjectManager' is not iterable
- return list(self.attachments.all())
-
class NoticeCategory(models.Model):
"""