Add missing MEDIA config in test settings
Change-Id: Idc6c9cae9feb9e8fd504b777502f98a382dd19f8 Closes-Bug: #1501158
This commit is contained in:
parent
3d156f0475
commit
3648163704
@ -22,6 +22,8 @@ STATICFILES_DIRS = get_staticfiles_dirs()
|
||||
|
||||
TEST_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||
ROOT_PATH = os.path.abspath(os.path.join(TEST_DIR, ".."))
|
||||
MEDIA_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'media'))
|
||||
MEDIA_URL = '/media/'
|
||||
STATIC_ROOT = os.path.abspath(os.path.join(ROOT_PATH, '..', 'static'))
|
||||
STATIC_URL = '/static/'
|
||||
WEBROOT = '/'
|
||||
|
Loading…
Reference in New Issue
Block a user