JourneyJoker/payment/functions.py

4 lines
148 B
Python
Raw Normal View History

import uuid
def invoice_upload_path(instance, filename):
return "/".join(["userfiles", str(instance.user.id), str(uuid.uuid4()), filename])