import uuid def uuid_path(instance, filename): return f'{uuid.uuid4()}/{filename}'