Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to set up a postgress database for your django projecrt

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'NAME': 'dbtest', 
        'USER': 'postgres', 
        'PASSWORD': '1234',
        'HOST': '127.0.0.1', 
        'PORT': '5432',
    }
}
Source by stackpython.medium.com #
 
PREVIOUS NEXT
Tagged: #set #postgress #database #django #projecrt
ADD COMMENT
Topic
Name
9+9 =