From 8edf469934f9fc3609683724b9457098c060a6d3 Mon Sep 17 00:00:00 2001 From: Kumi Date: Mon, 26 Sep 2022 13:10:57 +0000 Subject: [PATCH] Actually call uuid4... --- datastore/helpers/uploads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datastore/helpers/uploads.py b/datastore/helpers/uploads.py index 8fcd31b..ffd44db 100644 --- a/datastore/helpers/uploads.py +++ b/datastore/helpers/uploads.py @@ -2,4 +2,4 @@ import uuid def get_upload_path(instance, filename): - return f"{str(uuid.uuid4)}/{filename}" \ No newline at end of file + return f"{str(uuid.uuid4())}/{filename}" \ No newline at end of file