2

朋友们 -

我有一个 django 应用程序(使用 cookiecutter 构建),我将它部署在 Heroku 上,按照以下步骤操作:

https://cookiecutter-django.readthedocs.io/en/latest/deployment-on-heroku.html

一切正常,我也可以在数据库中创建实例。现在,当我尝试进入管理页面时,/admin我得到一个404 Page not found error.

部署时出现此错误:(我忽略了)

remote:        Invalid input of type: 'CacheKey'. Convert to a byte, string or number first.
remote:        --> Continuing using default collectstatic.

我忽略了这个错误,因为我一切正常。现在,可以连接还是我只是在这里遗漏了什么?

我假设我在部署后应该能够登录到 django 管理部分,还是我弄错了?我在我的 .env 文件中设置了我的管理员网址,但我仍然遇到了这个问题。本地一切运行完美....

非常感谢任何帮助或提示!

4

0 回答 0