skip to Main Content

Postgresql – Trouble hooking up postgres to django

Following the documentation from Django Postgres DocumentationI added to my settings.py in settings I set DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'OPTIONS': { 'service': 'my_service', 'passfile': '.my_pgpass', }, } } Adjacent to settings.py I created pg_service.conf with [my_service] host=localhost…

VIEW QUESTION
Back To Top
Search