Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Configure postgresql engine for your django application

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql',
        'NAME': 'mydatabase',
        'USER': 'mydatabaseuser',
        'PASSWORD': 'mypassword',
        'HOST': '127.0.0.1',
        'PORT': '5432',
    }
}
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #Configure #postgresql #engine #django #application
ADD COMMENT
Topic
Name
8+8 =