Skip to content

Commit daab95d

Browse files
authored
Merge pull request #195 from ponder-lab/ypaing/fix-config
fixing sql config error
2 parents 1d68816 + 37df89f commit daab95d

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

mysite/settings.py

+23-23
Original file line numberDiff line numberDiff line change
@@ -92,32 +92,32 @@
9292
# https://docs.djangoproject.com/en/5.1/ref/settings/#databases
9393

9494
# Testing with JawsDB.
95-
# DATABASES = {
96-
# 'default': dj_database_url.config(conn_max_age=600)
97-
# }
98-
99-
# Custom DB config.
10095
DATABASES = {
101-
# 'default': {
102-
# 'ENGINE': 'django.db.backends.mysql',
103-
# 'NAME': 'heroku_4ac11fb2946b4e7',
104-
# 'USER': 'be05ffb901b132',
105-
# 'PASSWORD': '3d94000c',
106-
# 'HOST': 'us-cdbr-east-03.cleardb.com',
107-
# # 'OPTIONS': {'ssl_mode': 'DISABLED'}
108-
# 'TEST': {
109-
# 'MIRROR': 'default',
110-
# },
111-
# },
112-
'default': {
113-
'ENGINE': 'django.db.backends.mysql', # Or other DBs as needed.
114-
'NAME': 'ponder',
115-
'USER': 'root',
116-
'PASSWORD': 'ponderlab',
117-
'HOST': '127.0.0.1',
118-
}
96+
'default': dj_database_url.config(conn_max_age=600)
11997
}
12098

99+
# Custom DB config.
100+
# DATABASES = {
101+
# # 'default': {
102+
# # 'ENGINE': 'django.db.backends.mysql',
103+
# # 'NAME': 'heroku_4ac11fb2946b4e7',
104+
# # 'USER': 'be05ffb901b132',
105+
# # 'PASSWORD': '3d94000c',
106+
# # 'HOST': 'us-cdbr-east-03.cleardb.com',
107+
# # # 'OPTIONS': {'ssl_mode': 'DISABLED'}
108+
# # 'TEST': {
109+
# # 'MIRROR': 'default',
110+
# # },
111+
# # },
112+
# 'default': {
113+
# 'ENGINE': 'django.db.backends.mysql', # Or other DBs as needed.
114+
# 'NAME': 'ponder',
115+
# 'USER': 'root',
116+
# 'PASSWORD': 'ponderlab',
117+
# 'HOST': '127.0.0.1',
118+
# }
119+
# }
120+
121121

122122
# Password validation
123123
# https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators

0 commit comments

Comments
 (0)