From 958f6e2c75a72bc2966058a9a9c49211917aff00 Mon Sep 17 00:00:00 2001 From: Kumi Date: Fri, 1 Jan 2021 13:55:19 +0100 Subject: [PATCH] Fix silly mistake --- mood/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mood/models.py b/mood/models.py index 2cdf383..4e48708 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_user_model) + media = models.FileField(get_upload_path) class StatusActivity(models.Model): status = models.ForeignKey(Status, models.CASCADE)