How do I upload photo from django

I am trying to attached a photo that will be saved in DB then be able to save the photo in linode storages. I have the bucket and I am getting the static files and media files working. I have a module that has products and includes images and videos and was able to deal with that but what i have issue with, at certain point i am trying to ask the user to attach a receipt, here i am not getting it to be uploaded to storage bucket.

1 Reply

There are a few possibilities here, but gathering some additional information would be helpful for troubleshooting. Are you getting any specific error messages when you try to upload the file? Do your logs provide extra details regarding the files that failed to upload? Any additional information you can provide about your setup will help the Linode Community assist with troubleshooting the issue. As a starting point, this StackOverflow post may be useful.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct