Fixes celery media path

This commit is contained in:
Mouse Reeve
2020-09-30 19:43:42 -07:00
parent 4fda5c8e22
commit 0b8f8e3659
4 changed files with 18 additions and 2 deletions

View File

@ -144,3 +144,6 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.0/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, env('STATIC_ROOT', 'static'))
MEDIA_URL = '/images/'
MEDIA_ROOT = os.path.join(BASE_DIR, env('MEDIA_ROOT', 'images'))