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?

gefragt vor 5 Monaten113 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen