4 lines
148 B
Python
4 lines
148 B
Python
|
import uuid
|
||
|
|
||
|
def invoice_upload_path(instance, filename):
|
||
|
return "/".join(["userfiles", str(instance.user.id), str(uuid.uuid4()), filename])
|