Switched to using posgresql for db.

This commit is contained in:
Nick Seidenman (N6) 2017-02-14 16:43:19 +11:00
parent c0d1ede66d
commit 0aec9bd27c
2 changed files with 12 additions and 3 deletions

1
.gitignore vendored
View file

@ -7,3 +7,4 @@ dev.db
.coverage
pinaxcon/site_media/
local_settings.py
log

View file

@ -9,9 +9,17 @@ BASE_DIR = PACKAGE_ROOT
DEBUG = True #bool(int(os.environ.get("DEBUG", "1")))
DATABASES = {
"default": {
"ENGINE": "django.db.backends.sqlite3",
"NAME": os.path.join(PROJECT_ROOT, "dev.db"),
#"default": {
# "ENGINE": "django.db.backends.sqlite3",
# "NAME": os.path.join(PROJECT_ROOT, "dev.db"),
#}
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'pycontest',
'USER': 'nicks',
'PASSWORD': 'spam&eggs',
'HOST': 'localhost',
'PORT': '',
}
}