aboutsummaryrefslogtreecommitdiffstats
path: root/notice
diff options
context:
space:
mode:
Diffstat (limited to 'notice')
-rw-r--r--notice/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/notice/models.py b/notice/models.py
index 3f33e4d..d69ed9a 100644
--- a/notice/models.py
+++ b/notice/models.py
@@ -56,7 +56,7 @@ class NoticeAttachment(models.Model):
description = models.TextField(_("Description"), blank=True)
attachment = models.FileField(upload_to='notice/attachments',
verbose_name=_("Attachment"),
- storage=OverwriteStorage)
+ storage=OverwriteStorage())
content_type = models.ForeignKey(ContentType)
object_id = models.PositiveIntegerField()
content_object = generic.GenericForeignKey("content_type", "object_id")