Skip to content

Commit

Permalink
v.1.2.3 flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
andmerk93 committed Oct 16, 2023
1 parent 8ef0955 commit 932ac2c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions django_test/django_test/settings.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
import os
from pathlib import Path
from dotenv import load_dotenv
import os

BASE_DIR = Path(__file__).resolve().parent.parent

load_dotenv()
BASE_DIR = Path(__file__).resolve().parent.parent

SECRET_KEY = os.getenv('SECRET_KEY')

DEBUG = os.getenv('DJANGO_DEBUG')

if DEBUG:
from dotenv import load_dotenv
load_dotenv()

ALLOWED_HOSTS = ['*']

INSTALLED_APPS = [
Expand Down

0 comments on commit 932ac2c

Please sign in to comment.