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?

asked 4 months ago109 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions