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?

preguntada hace 5 meses113 visualizaciones
No hay respuestas

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas