Recent changes from server PAW

This commit is contained in:
2023-02-01 16:25:42 +00:00
parent e01805090a
commit 5d82684468

View File

@@ -15,7 +15,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = os.getenv("adminAS_KEY") SECRET_KEY = os.getenv("adminAS_KEY")
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = False
ALLOWED_HOSTS = ['*'] ALLOWED_HOSTS = ['*']
# Application definition # Application definition
@@ -142,7 +142,7 @@ else:
'ENGINE': 'django.db.backends.mysql', 'ENGINE': 'django.db.backends.mysql',
'NAME': 'fjrodriguez$cfdi_as', 'NAME': 'fjrodriguez$cfdi_as',
'USER': 'fjrodriguez', 'USER': 'fjrodriguez',
'PASSWORD':os.getenv("BD_PASS"), 'PASSWORD':'Soluciones28@',
'HOST': 'fjrodriguez.mysql.pythonanywhere-services.com', 'HOST': 'fjrodriguez.mysql.pythonanywhere-services.com',
'PORT': '3306', 'PORT': '3306',
'OPTIONS': {'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"}, 'OPTIONS': {'init_command': "SET sql_mode='STRICT_TRANS_TABLES'"},