Actually call uuid4...
This commit is contained in:
parent
5cfeb46141
commit
8edf469934
1 changed files with 1 additions and 1 deletions
|
@ -2,4 +2,4 @@ import uuid
|
|||
|
||||
|
||||
def get_upload_path(instance, filename):
|
||||
return f"{str(uuid.uuid4)}/{filename}"
|
||||
return f"{str(uuid.uuid4())}/{filename}"
|
Loading…
Reference in a new issue