Switched to using posgresql for db.
This commit is contained in:
parent
c0d1ede66d
commit
0aec9bd27c
2 changed files with 12 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -7,3 +7,4 @@ dev.db
|
|||
.coverage
|
||||
pinaxcon/site_media/
|
||||
local_settings.py
|
||||
log
|
||||
|
|
|
@ -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': '',
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue