ignatz 4 лет назад
Родитель
Сommit
880362bb67
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      st_cloud/settings.py

+ 1 - 0
st_cloud/settings.py

@@ -14,6 +14,7 @@ from pathlib import Path
 
 # Build paths inside the project like this: BASE_DIR / 'subdir'.
 BASE_DIR = Path(__file__).resolve().parent.parent
+MEDIA_ROOT = BASE_DIR / 'upload/'
 
 # Quick-start development settings - unsuitable for production
 # See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/