Se modifica settings
parent
e60cd3e2e6
commit
b224f7999f
Binary file not shown.
|
@ -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')
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue