postgres connect with django

 

DATABASES = {
    'default': {

        'ENGINE''django.db.backends.postgresql_psycopg2',

        'NAME''DBSHOP',

        'USER''postgres',

        'PASSWORD''password',

        'HOST''localhost',

        'PORT''5432',
    }
}

Comments

Popular posts from this blog

D WEB LINK