Spaces:
Runtime error
Runtime error
Jiang
commited on
integrate Remote database (#39)
Browse files- requirements.txt +1 -0
- src/pgsns/settings.py +6 -2
requirements.txt
CHANGED
|
@@ -3,4 +3,5 @@ requests
|
|
| 3 |
django-allauth
|
| 4 |
django-crispy-forms
|
| 5 |
crispy-bootstrap4
|
|
|
|
| 6 |
Pillow
|
|
|
|
| 3 |
django-allauth
|
| 4 |
django-crispy-forms
|
| 5 |
crispy-bootstrap4
|
| 6 |
+
psycopg2
|
| 7 |
Pillow
|
src/pgsns/settings.py
CHANGED
|
@@ -100,8 +100,12 @@ CSRF_TRUSTED_ORIGINS = [
|
|
| 100 |
|
| 101 |
DATABASES = {
|
| 102 |
'default': {
|
| 103 |
-
'ENGINE': 'django.db.backends.
|
| 104 |
-
'NAME':
|
|
|
|
|
|
|
|
|
|
|
|
|
| 105 |
}
|
| 106 |
}
|
| 107 |
|
|
|
|
| 100 |
|
| 101 |
DATABASES = {
|
| 102 |
'default': {
|
| 103 |
+
'ENGINE': 'django.db.backends.postgresql',
|
| 104 |
+
'NAME': 'retool',
|
| 105 |
+
'HOST': 'ep-shy-dew-a6vr13td.us-west-2.retooldb.com',
|
| 106 |
+
'USER': 'retool',
|
| 107 |
+
'PASSWORD': 'Hr6AKIkP5nDC',
|
| 108 |
+
'PORT': '5432',
|
| 109 |
}
|
| 110 |
}
|
| 111 |
|