Skip to content

Commit

Permalink
chore: .env 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
권아림 committed Jul 25, 2024
1 parent 656ea6b commit d848249
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ __pycache__/
env/
db.sqlite3
.DS_Store
.env
venv/
3 changes: 2 additions & 1 deletion mustgou/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"""

from pathlib import Path, os
from decouple import config

# Build paths inside the project like this: BASE_DIR / 'subdir'.
BASE_DIR = Path(__file__).resolve().parent.parent
Expand All @@ -20,7 +21,7 @@
# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = "django-insecure-p@#&)c8s!q2!b2mfn)=39fqd@g&rz&zhy@r(p5-xu40cc-)r=%"
SECRET_KEY = config("SECRET_KEY")

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
asgiref==3.8.1
Django==4.2.14
python-decouple==3.8
sqlparse==0.5.0
typing-extensions==4.12.2
typing_extensions==4.12.2

0 comments on commit d848249

Please sign in to comment.