Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Automatically create the cache folder used for external files  #418

Description

@ecobost

Setting the cache folder (dj.config['cache'] = '/tmp/dj-cache') to a folder that doesn't exist throws a FileNotFoundError when fetching. It would be nice if it created it automatically
Here's the error

FileNotFoundError: [Errno 2] No such file or directory: '/tmp/dj-cache/su7VnvVwCN901A7maY3lX4es-_digGrC3mFQtcSXdHEbl3d.saving'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementIndicates new improvements

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions