From 6750ab44f051d4bd5422bc22a9a9065a2a096425 Mon Sep 17 00:00:00 2001 From: Klaus-Uwe Mitterer Date: Mon, 4 Jan 2021 11:28:24 +0100 Subject: [PATCH] Updated StatusMedia model to match form signature --- mood/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mood/models.py b/mood/models.py index 4e48708..76faf7e 100644 --- a/mood/models.py +++ b/mood/models.py @@ -46,7 +46,7 @@ class Activity(models.Model): class StatusMedia(models.Model): status = models.ForeignKey(Status, models.CASCADE) - media = models.FileField(get_upload_path) + file = models.FileField(get_upload_path) class StatusActivity(models.Model): status = models.ForeignKey(Status, models.CASCADE)