Skip to content

Commit

Permalink
updating branch
Browse files Browse the repository at this point in the history
  • Loading branch information
krrish-sehgal committed Nov 9, 2024
2 parents 7448c8f + 5121e44 commit 7fcbcc3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion blt/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,15 @@
import environ
from django.utils.translation import gettext_lazy as _

env = environ.Env()
# reading .env file
environ.Env.read_env()

# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
env = environ.Env()
env_file = os.path.join(BASE_DIR, ".env")
environ.Env.read_env(env_file)

PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
GITHUB_TOKEN = os.environ.get("GITHUB_TOKEN", "blank")

Expand Down

0 comments on commit 7fcbcc3

Please sign in to comment.