Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use storage API to access files #3

Open
markpasc opened this issue Dec 13, 2013 · 1 comment
Open

Use storage API to access files #3

markpasc opened this issue Dec 13, 2013 · 1 comment

Comments

@markpasc
Copy link
Contributor

As noted by @johanneswilm, we should use DefaultStorage (see the file storage API docs) instead of the local system's filesystem API to load and save media files, to support an alternate storage backend configured in the Django project if any.

@johanneswilm
Copy link
Contributor

those two patches seem to cover it at least for me here. I am not really sure if copying files is only possible by reading and writing to them, but that's the only way I found at least.

The only trouble is the issue about stdout and file accessing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants