Add database and static settings

This commit is contained in:
Nathan Chapman 2021-07-22 18:20:55 -06:00
parent b76039f622
commit a7e79c295d

View File

@ -81,8 +81,12 @@ WSGI_APPLICATION = 'onboard.wsgi.application'
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': BASE_DIR / 'db.sqlite3',
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'onboard',
'USER': 'nathanchapman',
'PASSWORD': 'lktr&^e/aY+X-5gTdfG<pV"7^J|wee<AihQp"V)hy>s^ii+L~-,,`x0gzI+JpLu-',
'HOST': 'localhost',
'PORT': '',
}
}
@ -124,7 +128,7 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = BASE_DIR / 'static'
STATIC_ROOT = [BASE_DIR / 'static/']
STATICFILES_DIRS = [BASE_DIR / 'static']