Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

240
Views
Fail to Deploy the Django App in the Heroku Cloud

I was trying to deploy a Django app in the Heroku following the official instruction. The project structure is as following,

enter image description here [3 enter image description here [2

It's good to mention that, I can run heroku locally from the src folder, heroku local web. Also the app create works fine, heroku create. While I tried to deploy the app using the command git push heroku master,

I get the error message in the terminal,

remote: -----> Failed to detect app matching https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/python.tgz buildpack
remote:        More info: https://devcenter.heroku.com/articles/buildpacks#detection-failure
remote: 
remote:  !     Push failed
remote: Verifying deploy...
remote: 
remote: !   Push rejected to sheltered-sea-46201.
remote: 
To https://git.heroku.com/sheltered-sea-46201.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/sheltered-sea-46201.git'

I see the similar question in the SOF, but, none of them seems any help. For example, I shifted the requirements.txt file inside the src folder suggested in an answer and pip freeze again which is ineffective. What should I need to do to resolve the issue?

NOTE:

As someone suggested to use heroku buildpacks:set heroku/python,I tried and get the message,

enter image description here

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!