# Fetch Django's project directory DJANGO_ROOT = dirname(dirname(abspath(__file__))) # Fetch the project_root PROJECT_ROOT = dirname(DJANGO_ROOT) STATIC_ROOT = os.path.join(PROJECT_ROOT, 'static') # /path/to/project_directory/static デプロイ環境のためにcollectstaticが静的ファイルを集めるディレクトリへの絶対パス The absolute path to the directory where collectstatic will collect static files for deployment. Example: "/var/www/exam