Skip to content
Advertisement

How to overwrite Django app to Pythonanywhere?

After the second time deploying the Django app to Pythonanywhere, (I re-edited and overwritten in VS code and did git push) I got the following error.

JavaScript

The command is

JavaScript

The first deployment succeeded but the second one is not. I don’t know the cause and how to overwrite it…

Advertisement

Answer

You need to have a requirements.txt file in your project that specifies the packages that you need for your app. I’m guessing that your first project had one that included django and that your second one does not.

User contributions licensed under: CC BY-SA
6 People found this is helpful
Advertisement