Skip to content

Commit

Permalink
Update settings.py for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
itsrcx authored Aug 28, 2024
1 parent f5fec72 commit b238a0d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/learnDjango/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
SECRET_KEY = 'django-insecure-hk%%=lh!7c9u)p1^0es4baz7l+7=k_@alxu9-dkic5u)2lgc(!'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = False

ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['bcohort.com', 'www.bcohort.com', 'localhost', '127.0.0.1']


# Application definition
Expand Down Expand Up @@ -215,4 +215,4 @@
'DEFAULT_PERMISSION_CLASSES': [
'rest_framework.permissions.IsAuthenticated',
]
}
}

0 comments on commit b238a0d

Please sign in to comment.