Klaus-Uwe Mitterer
54e84be36a
Copy over payment system from kumi.xxx Add missing requirements Other stuff
4 lines
No EOL
148 B
Python
4 lines
No EOL
148 B
Python
import uuid
|
|
|
|
def invoice_upload_path(instance, filename):
|
|
return "/".join(["userfiles", str(instance.user.id), str(uuid.uuid4()), filename]) |