refonte django #3

Merged
nyanloutre merged 15 commits from refonte_django into master 2022-11-02 18:14:29 +01:00
1 changed files with 4 additions and 2 deletions
Showing only changes of commit d94931eb95 - Show all commits

View File

@ -33,6 +33,8 @@ DATABASES = {
}
}
MEDIA_ROOT = os.path.join(VAR_DIR, 'media')
NGINX_DIR = os.environ['NGINX_DIRECTORY']
STATIC_ROOT = os.path.join(VAR_DIR, 'staticfiles')
MEDIA_ROOT = os.path.join(NGINX_DIR, 'media')
STATIC_ROOT = os.path.join(NGINX_DIR, 'staticfiles')