File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 1+ # Ignore environment files
2+ .env
3+
4+ # Ignore compiled Python files
5+ * .pyc
6+ __pycache__ /
Original file line number Diff line number Diff line change 1111"""
1212
1313from pathlib import Path
14+ from decouple import config
1415
1516# Build paths inside the project like this: BASE_DIR / 'subdir'.
1617BASE_DIR = Path (__file__ ).resolve ().parent .parent
2021# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/
2122
2223# SECURITY WARNING: keep the secret key used in production secret!
23- SECRET_KEY = 'django-insecure-1av7%kyih)8&%w1v5g^f$+(a$^f&p28y-pr!wns!@&5axfwg)2'
24+ SECRET_KEY = config ( 'SECRET_KEY' )
2425
2526# SECURITY WARNING: don't run with debug turned on in production!
26- DEBUG = True
27+ DEBUG = config ( 'DEBUG' , cast = bool )
2728
2829ALLOWED_HOSTS = []
2930
You can’t perform that action at this time.
0 commit comments