The solution that worked for me when deploying my Django apps to Heroku is to go into the production.py file and change the code DEBUG = FALSE
to DEBUG = TRUE
. In this way, you should be able to see the errors that Django displays. Be aware that once you have found the error and have done the corrections, this setting must be changed back to FALSE
.
In case changing to TRUE
shows the app to work but the error is not visible then check your forms.py file and make sure that your models do not have any inconsistency. In my previous cases, the forms.py file has been the culprit.