production bet2

This commit is contained in:
2022-11-27 02:44:39 +00:00
parent 654394ca4d
commit af67a399af
2 changed files with 8 additions and 7 deletions

View File

@@ -12,9 +12,9 @@ BASE_DIR = Path(__file__).resolve().parent.parent
SECRET_KEY = 'django-insecure-5*mm&uf5zq@t6nrs_5z8-_qtyapm^3&yz^wqqkc_a!v(!ulj-^' SECRET_KEY = 'django-insecure-5*mm&uf5zq@t6nrs_5z8-_qtyapm^3&yz^wqqkc_a!v(!ulj-^'
# 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
@@ -31,6 +31,7 @@ INSTALLED_APPS = [
'allauth.account', 'allauth.account',
'allauth.socialaccount', 'allauth.socialaccount',
'widget_tweaks', 'widget_tweaks',
'Admin',
'Clientes', 'Clientes',
] ]
@@ -94,7 +95,7 @@ ACCOUNT_SIGNUP_REDIRECT_URL =LOGIN_REDIRECT_URL
# https://docs.djangoproject.com/en/4.1/ref/settings/#databases # https://docs.djangoproject.com/en/4.1/ref/settings/#databases
DEBUG = True
if DEBUG: if DEBUG:
DATABASES = { DATABASES = {
'default': { 'default': {

BIN
req.txt

Binary file not shown.