1回答
- 新しい順
- 投票が多い順
- コメントが多い順
1
It looks like Django still thinks you're trying to use the default sqlite3 DB. Can you verify the "DATABASES" variable in settings.py is configured with the postgres connection string?
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql",
"NAME": "mydatabase",
"USER": "mydatabaseuser",
"PASSWORD": "mypassword",
"HOST": "127.0.0.1",
"PORT": "5432",
}
}
You can also check against this tutorial on deploying Django to AppRunner, postgres is covered near the middle.
回答済み 4ヶ月前
関連するコンテンツ
- AWS公式更新しました 2年前