Spaces:
Sleeping
Sleeping
Update tiger/settings.py
Browse files- tiger/settings.py +14 -14
tiger/settings.py
CHANGED
|
@@ -87,24 +87,24 @@ WSGI_APPLICATION = "tiger.wsgi.application"
|
|
| 87 |
# Database
|
| 88 |
# https://docs.djangoproject.com/en/5.0/ref/settings/#databases
|
| 89 |
|
| 90 |
-
#DATABASES = {
|
| 91 |
-
# "default": {
|
| 92 |
-
# "ENGINE": "django.db.backends.sqlite3",
|
| 93 |
-
# "NAME": BASE_DIR / "db.sqlite3",
|
| 94 |
-
# }
|
| 95 |
-
#}
|
| 96 |
-
|
| 97 |
DATABASES = {
|
| 98 |
-
|
| 99 |
-
|
| 100 |
-
|
| 101 |
-
'USER': 'doadmin',
|
| 102 |
-
'PASSWORD': 'AVNS_uucXKyIPjhCOwkUVld2',
|
| 103 |
-
'HOST': 'tigerdb-do-user-9862837-0.c.db.ondigitalocean.com',
|
| 104 |
-
'PORT': '25060',
|
| 105 |
}
|
| 106 |
}
|
| 107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 108 |
# PGPASSWORD=AVNS_uucXKyIPjhCOwkUVld2 pg_restore -U doadmin -h tigerdb-do-user-9862837-0.c.db.ondigitalocean.com -p 25060 -d defaultdb
|
| 109 |
|
| 110 |
# Password validation
|
|
|
|
| 87 |
# Database
|
| 88 |
# https://docs.djangoproject.com/en/5.0/ref/settings/#databases
|
| 89 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
DATABASES = {
|
| 91 |
+
"default": {
|
| 92 |
+
"ENGINE": "django.db.backends.sqlite3",
|
| 93 |
+
"NAME": BASE_DIR / "db.sqlite3",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
}
|
| 95 |
}
|
| 96 |
|
| 97 |
+
#DATABASES = {
|
| 98 |
+
# 'default': {
|
| 99 |
+
# 'ENGINE': 'django.db.backends.postgresql',
|
| 100 |
+
# 'NAME': 'defaultdb',
|
| 101 |
+
# 'USER': 'doadmin',
|
| 102 |
+
# 'PASSWORD': 'AVNS_uucXKyIPjhCOwkUVld2',
|
| 103 |
+
# 'HOST': 'tigerdb-do-user-9862837-0.c.db.ondigitalocean.com',
|
| 104 |
+
# 'PORT': '25060',
|
| 105 |
+
# }
|
| 106 |
+
#}
|
| 107 |
+
|
| 108 |
# PGPASSWORD=AVNS_uucXKyIPjhCOwkUVld2 pg_restore -U doadmin -h tigerdb-do-user-9862837-0.c.db.ondigitalocean.com -p 25060 -d defaultdb
|
| 109 |
|
| 110 |
# Password validation
|