Browse Source

Fix: vraceni nastaveni lokalni DB

remotes/origin/vysl
Tomas Gavenciak 10 years ago
parent
commit
da64ec12a0
  1. 11
      mamweb/settings.py

11
mamweb/settings.py

@ -23,15 +23,8 @@ ALLOWED_HOSTS = ['127.0.0.1']
DATABASES = { DATABASES = {
'default': { 'default': {
# 'ENGINE': 'django.db.backends.sqlite3', 'ENGINE': 'django.db.backends.sqlite3',
# 'NAME': os.path.join(BASE_DIR, 'db-local.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',
}
} }
} }

Loading…
Cancel
Save