diff --git a/core/core/settings.py b/core/core/settings.py index fc7a722..a9c6323 100644 --- a/core/core/settings.py +++ b/core/core/settings.py @@ -142,10 +142,10 @@ USE_TZ = True # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/4.2/howto/static-files/ -STATIC_ROOT = 'staticfiles' +STATIC_ROOT = os.getenv('STATIC_ROOT') STATIC_URL = '/static/' -MEDIA_ROOT = 'userfiles' +MEDIA_ROOT = os.getenv('MEDIA_ROOT') MEDIA_URL = '/media/' STORAGES = {