Fix: vraceni nastaveni lokalni DB
This commit is contained in:
parent
c75fe27a60
commit
da64ec12a0
1 changed files with 2 additions and 9 deletions
|
@ -23,15 +23,8 @@ ALLOWED_HOSTS = ['127.0.0.1']
|
|||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
# 'ENGINE': 'django.db.backends.sqlite3',
|
||||
# 'NAME': os.path.join(BASE_DIR, 'db-local.sqlite3'),
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'NAME': 'mam-prod',
|
||||
'USER': 'mam',
|
||||
'TEST': {
|
||||
'NAME': 'mam-test',
|
||||
}
|
||||
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': os.path.join(BASE_DIR, 'db-local.sqlite3'),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue