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