1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
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.
répondu il y a 4 mois
Contenus pertinents
- demandé il y a 2 mois
- demandé il y a 6 mois
- demandé il y a un an
- demandé il y a un an
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a un an