expephalon-demomodule/core/helpers/files.py

5 lines
No EOL
117 B
Python

import uuid
import os.path
def generate_storage_filename(*args, **kwargs):
return "uploads/" + str(uuid.uuid4())