Skip to content

Commit eca71a8

Browse files
Merge pull request #29 from gnanarepo/ujjawal_core
health-fix
2 parents d931d14 + 2783a1b commit eca71a8

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

aviso_core/settings.py

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -89,24 +89,24 @@
8989
}
9090

9191

92-
if DEBUG:
93-
DATABASES = {
94-
"default": {
95-
"ENGINE": "django.db.backends.sqlite3",
96-
"NAME": BASE_DIR / "db.sqlite3",
97-
}
98-
}
99-
else:
100-
DATABASES = {
101-
"default": {
102-
"ENGINE": "django.db.backends.postgresql",
103-
"NAME": os.environ.get("DB_NAME"),
104-
"USER": os.environ.get("DB_USER"),
105-
"PASSWORD": os.environ.get("DB_PASSWORD"),
106-
"HOST": os.environ.get("DB_HOST"),
107-
"PORT": os.environ.get("DB_PORT", "5432"),
108-
}
109-
}
92+
# if DEBUG:
93+
# DATABASES = {
94+
# "default": {
95+
# "ENGINE": "django.db.backends.sqlite3",
96+
# "NAME": BASE_DIR / "db.sqlite3",
97+
# }
98+
# }
99+
# else:
100+
# DATABASES = {
101+
# "default": {
102+
# "ENGINE": "django.db.backends.postgresql",
103+
# "NAME": os.environ.get("DB_NAME"),
104+
# "USER": os.environ.get("DB_USER"),
105+
# "PASSWORD": os.environ.get("DB_PASSWORD"),
106+
# "HOST": os.environ.get("DB_HOST"),
107+
# "PORT": os.environ.get("DB_PORT", "5432"),
108+
# }
109+
# }
110110

111111

112112
# Password validation

0 commit comments

Comments
 (0)