refonte django #3
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user