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?

demandé il y a 5 mois113 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions