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