diff options
| author | 2019-07-03 16:58:52 +0200 | |
|---|---|---|
| committer | 2019-07-03 16:58:52 +0200 | |
| commit | 3112168b7ae19444e55f59cb9ecf6ac9ee36c87a (patch) | |
| tree | 780f2c9f2d533a959d36495b9525845a052d4ea9 | |
| parent | Replacing hardcoded secret keys with token_urlsafe calls. (diff) | |
Changing the STATIC_ROOT and MEDIA_ROOT to include the  root folder created by the Dockerfile
| -rw-r--r-- | pydis_site/settings.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/pydis_site/settings.py b/pydis_site/settings.py index 5cc4dd99..a3241206 100644 --- a/pydis_site/settings.py +++ b/pydis_site/settings.py @@ -173,10 +173,10 @@ USE_TZ = True  STATIC_URL = '/static/'  STATICFILES_DIRS = [os.path.join(BASE_DIR, 'pydis_site', 'static')] -STATIC_ROOT = env('STATIC_ROOT', default='staticfiles') +STATIC_ROOT = env('STATIC_ROOT', default='/app/staticfiles')  MEDIA_URL = '/media/' -MEDIA_ROOT = env('MEDIA_ROOT', default='media') +MEDIA_ROOT = env('MEDIA_ROOT', default='/app/media')  STATICFILES_FINDERS = [      'django.contrib.staticfiles.finders.FileSystemFinder', | 
