Forums

Deploying Django Apps on Heroku

0

I'm at my wit's end. I have followed two tutorials about deploying a Django app onto Heroku. I created two apps with the first tutorial (MDN), and one app with the second tutorial (Corey Schafer's YouTube video). All three times I've created these Django apps and they work. But when it comes time to try to deploy these apps to Heroku, something I download through pip into these apps doesn't work. This time around, with Corey Schafer's tutorial, when I download "django-heroku" through pip, the download works but when I add

import django_heroku django_heroku.settings(locals())

into my "settings.py" file, I get an error message saying

Import "django_heroku" could not be resolved Pylance(reportMissingImports)

I've searched high and low across the Internet for the answer for this and found nothing. And I'm taking a real chance putting up this question here and hoping for an answer. Is Django incompatible with Heroku? I'd like to be able to deploy my Django apps to Heroku since Heroku is free, but perhaps Heroku no longer allows Django apps to be deployed? Please help! I'm tearing my hair out.

We do not provide support for Heroku.

I also got same issue.

@dentalcompany We still do not provide support for Heroku.