Change data directory
This commit is contained in:
parent
23cab66f83
commit
dfb4e91a98
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue
Block a user