postgres working
This commit is contained in:
parent
29051da8e1
commit
b0af2e6e46
@ -78,8 +78,12 @@ WSGI_APPLICATION = 'portfolio.wsgi.application'
|
|||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.sqlite3',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
|
'NAME': 'portfolio',
|
||||||
|
'USER': 'portfolio',
|
||||||
|
'PASSWORD': 'DBpf',
|
||||||
|
'HOST': 'pg.ahlawat.com',
|
||||||
|
'PORT': '5432'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user