Changeset - 0aec9bd27c66
[Not reviewed]
0 2 0
Nick Seidenman (N6) - 7 years ago 2017-02-14 05:43:19
n6151h@gmail.com
Switched to using posgresql for db.
2 files changed with 12 insertions and 3 deletions:
0 comments (0 inline, 0 general)
.gitignore
Show inline comments
...
 
@@ -7,3 +7,4 @@ dev.db
 
.coverage
 
pinaxcon/site_media/
 
local_settings.py
 
log
pinaxcon/settings.py
Show inline comments
...
 
@@ -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': '',
 
    }
 
}
 

	
0 comments (0 inline, 0 general)