postgres working

This commit is contained in:
Sharad Ahlawat 2020-03-08 11:47:55 -07:00
parent 29051da8e1
commit b0af2e6e46
1 changed files with 6 additions and 2 deletions

View File

@ -78,8 +78,12 @@ WSGI_APPLICATION = 'portfolio.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'portfolio',
'USER': 'portfolio',
'PASSWORD': 'DBpf',
'HOST': 'pg.ahlawat.com',
'PORT': '5432'
}
}