Answers for "connect to postgres where host is localhost using django"

1

localhost postgres settings django

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'USER': 'mydatabaseuser',
        'NAME': 'mydatabase',
        'TEST': {
            'NAME': 'mytestdatabase',
        },
    },
}
Posted by: Guest on October-04-2020

Code answers related to "connect to postgres where host is localhost using django"

Python Answers by Framework

Browse Popular Code Answers by Language