Skip to content

Commit

Permalink
Hotfix: Attempt to fix production server's inability to connect to th…
Browse files Browse the repository at this point in the history
…e database
  • Loading branch information
nfoert committed Oct 5, 2024
1 parent 25c7d32 commit f075d42
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cardie/cardie/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@

import environ

env = environ.Env(
env = environ.Env(interpolate=True,
DEBUG=(bool, False),
SECRET_KEY=(
str,
"django-insecure-a_r$cp+uufzh*bdagc!fra@7n10c*ciuleve_4+-cs_bftbb9",
),
DJANGO_ALLOWED_HOSTS=(list, ["localhost", "127.0.0.1"]),
DATABASE_URL=(str, "sqlite:///db.sqlite3")
)
# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
Expand Down

0 comments on commit f075d42

Please sign in to comment.