5 lines
No EOL
97 B
Python
5 lines
No EOL
97 B
Python
import uuid
|
|
|
|
|
|
def get_upload_path(instance, filename):
|
|
return f"{str(uuid.uuid4)}/{filename}" |