Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7555919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:44:20+00:00 2026-05-30T11:44:20+00:00

I am trying to allow users to upload files for a django app running

  • 0

I am trying to allow users to upload files for a django app running on heroku and am running into some issues. In my development environment (using the django development server), I have it set up to allow users to upload files (a small image/logo). Everything is working great.

When I try to run it on heroku or even on my development server using gunicorn (instead of the django development server), users are unable to upload files. I know generally it is best to use something like Amazon S3, however since the files are relatively small I thought starting directly on heroku might work.

I understand that I can get uploaded files to work with manage.py collectstatic, however this isn’t the issue as the uploaded file never actually gets uploaded. I do not notice any errors that I can see.

Is what I am trying to accomplish practical? Should I be focusing on trying to get this to work with S3 instead? It seems a little daunting for my needs now but I am open to suggestions or help of any kind.

Thanks,

Edit:
It appears that it only works outside my virtual environment. It doesn’t matter if gunicorn is being used or not inside the virtual environment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T11:44:22+00:00Added an answer on May 30, 2026 at 11:44 am

    I think you should be focusing on something like S3 as an external store to assets created during your program execution yes. Heroku uses an ephemeral filesystem for each dyno, so that certainly won’t be the place to upload the files, even if they are small.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to allow users to upload files through a PHP website. Since all
I'm trying to allow users to upload large files (64MB) and am planning to
I'm trying to build a website that will allow user to upload video files
i am trying to allow users to update their profile picture using this code.
I am trying to allow the users of my website, to upload images and
I'm trying to allow users to submit zip files to me. I would also
I'm trying to craete a site which allows users to upload any file type
Im trying to allow users to login to a website by verifying if they
I'm working on a forums system. I'm trying to allow users to see the
I'm trying to create a basic system that will allow only specific users to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.