diff --git a/src/learnDjango/settings.py b/src/learnDjango/settings.py index 2f07180d..1e805720 100644 --- a/src/learnDjango/settings.py +++ b/src/learnDjango/settings.py @@ -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 @@ -215,4 +215,4 @@ 'DEFAULT_PERMISSION_CLASSES': [ 'rest_framework.permissions.IsAuthenticated', ] -} \ No newline at end of file +}