|
92 | 92 | # https://docs.djangoproject.com/en/5.1/ref/settings/#databases
|
93 | 93 |
|
94 | 94 | # Testing with JawsDB.
|
95 |
| -# DATABASES = { |
96 |
| -# 'default': dj_database_url.config(conn_max_age=600) |
97 |
| -# } |
98 |
| - |
99 |
| -# Custom DB config. |
100 | 95 | 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) |
119 | 97 | }
|
120 | 98 |
|
| 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 | + |
121 | 121 |
|
122 | 122 | # Password validation
|
123 | 123 | # https://docs.djangoproject.com/en/5.1/ref/settings/#auth-password-validators
|
|
0 commit comments