diff options
Diffstat (limited to 'schedule/models.py')
-rw-r--r-- | schedule/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/schedule/models.py b/schedule/models.py index c0d004b..37ed3f4 100644 --- a/schedule/models.py +++ b/schedule/models.py @@ -45,7 +45,7 @@ class EventAttachment(models.Model): description = models.TextField(_("Description"), blank=True) attachment = models.FileField(upload_to='schedule/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") |