Change data directory

This commit is contained in:
Tanner Collin 2020-01-04 15:57:01 -07:00
parent 23cab66f83
commit dfb4e91a98
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ CORS_ORIGIN_ALLOW_ALL = True
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
'NAME': os.path.join(BASE_DIR, 'data/db.sqlite3'),
}
}
@ -124,7 +124,7 @@ USE_TZ = True
STATIC_URL = '/static/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
MEDIA_ROOT = os.path.join(BASE_DIR, 'data')
MEDIA_URL = '/media/'
PROTOSPACE_LOGIN_PAGE = 'https://my.protospace.ca/login'