Cannot deploy Django app to App Runner: TypeError: 'staticmethod' object is not callable

0

I have a Django 5 application that I'm trying to deploy to AWS App Runner. I've followed the instructions on here and also here in order to make a deployment to App Runner using MySQL as the DBMS. I had to downgrade my Django version because App Runner only supports up to Django 4.2.8. I reinstalled every package into my venv in order to get an updated version of the requirements file.

Locally, the app works just fine, but whenever I make a deploy to App Runner, I get this error: TypeError: 'staticmethod' object is not callable

I've tried looking it up, but I cannot find a reference that helps. What could be going wrong?

已提问 5 个月前113 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则

相关内容