Skip to content

Commit

Permalink
Update settings.py
Browse files Browse the repository at this point in the history
Signed-off-by: Tony dev web <133053699+tony-dev-web@users.noreply.github.com>
  • Loading branch information
tony-dev-web authored Dec 27, 2024
1 parent bb940fa commit 4baccd8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions core/settings.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#import os
SECRET_KEY = ''
DEBUG = False
CSRF_COOKIE_SECURE = False
CSRF_TRUSTED_ORIGINS = ['']

ALLOWED_HOSTS = ['']
Expand All @@ -27,8 +26,7 @@
#'django.middleware.common.CommonMiddleware',
#'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django_user_agents.middleware.UserAgentMiddleware']
'django.contrib.messages.middleware.MessageMiddleware']

ROOT_URLCONF = 'core.urls'

Expand Down Expand Up @@ -89,4 +87,4 @@
USE_I18N = True
USE_L10N = True
USE_TZ = True
STATIC_URL = 'static/'
STATIC_URL = 'static/'

0 comments on commit 4baccd8

Please sign in to comment.