Se modifica settings

rodrigo/djangocms
Rodrigo_R 2023-08-22 20:54:15 -04:00
parent e60cd3e2e6
commit b224f7999f
2 changed files with 2 additions and 4 deletions

Binary file not shown.

View File

@ -80,7 +80,7 @@ ROOT_URLCONF = 'myproject.urls'
TEMPLATES = [ TEMPLATES = [
{ {
'BACKEND': 'django.template.backends.django.DjangoTemplates', 'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': ['myproject/templates'], 'DIRS': [ os.path.join(BASE_DIR, 'myproject/templates')],
'APP_DIRS': True, 'APP_DIRS': True,
'OPTIONS': { 'OPTIONS': {
'context_processors': [ 'context_processors': [
@ -110,9 +110,7 @@ DATABASES = {
'USER': config('DBUSER','postgres'), 'USER': config('DBUSER','postgres'),
'PASSWORD': config('DBPASS','password'), 'PASSWORD': config('DBPASS','password'),
'NAME': config('DBNAME','database'), 'NAME': config('DBNAME','database'),
'OPTIONS': { 'OPTIONS': { 'options': '-c search_path=' + config('DBSCHEMA', 'public') }
'options': '-c search_path=' + config('DBSCHEMA', 'public')
}
} }
} }