Why would django fail with server 500 only when Debug=False AND db is set to production database on Heroku?

前端 未结 6 903
情歌与酒
情歌与酒 2020-12-11 18:28

When we run $ python manage.py runserver --settings=project.settings.local there are 4 different possible combinations:

  1. Debug=True && DB=l
6条回答
  •  轮回少年
    2020-12-11 19:26

    I hope this helps someone someday. I had this similar problems and it took a while before i fixed it. Check your tags. If an href attributes points to a template/link that don't exist. You might encounter such.

提交回复
热议问题