开发者

django - permission problem when uploading a file

I'm working on creating a form with which the user can upload an image and I get this error:

[Errno 13] Permission denied:

Can someone provide some guidance on what I w开发者_Python百科ould need to change (keeping in mind I'm running the development server on windows) for it to work? Is it something in settings.py or do I need to change the permissions of the directory that files are uploaded to?


[Errno 13] Permission denied is a Python OSError:

It is raised when a function returns a system-related error (not for illegal argument types or other incidental errors).

The number 13 means Permission denied, the user who launch your app doesn't have access in write to the folder where you want to upload.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜