Actually call uuid4...

This commit is contained in:
Kumi 2022-09-26 13:10:57 +00:00
parent 5cfeb46141
commit 8edf469934
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -2,4 +2,4 @@ import uuid
def get_upload_path(instance, filename):
return f"{str(uuid.uuid4)}/{filename}"
return f"{str(uuid.uuid4())}/{filename}"