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.