From: Guillaume Pellerin Date: Tue, 7 Aug 2018 12:39:21 +0000 (+0200) Subject: Fix cache prod access rights, avoid W342 warning X-Git-Tag: 1.7.2~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=c4a8192aa7d5dacce852bf033c182df89789c9cd;p=telemeta.git Fix cache prod access rights, avoid W342 warning --- diff --git a/app/bin/app.sh b/app/bin/app.sh index 37568a03..84e0e246 100755 --- a/app/bin/app.sh +++ b/app/bin/app.sh @@ -56,7 +56,7 @@ else python $manage collectstatic --noinput # fix media access rights - find $media -maxdepth 1 -path ${media}import -prune -o -type d -not -user www-data -exec chown www-data:www-data {} \; + find $media -maxdepth 2 -path ${media}import -prune -o -type d -not -user www-data -exec chown www-data:www-data {} \; # app start uwsgi --socket :$port --wsgi-file $wsgi --chdir $app --master \ diff --git a/app/settings.py b/app/settings.py index 88c335e1..3b37ff78 100644 --- a/app/settings.py +++ b/app/settings.py @@ -377,3 +377,5 @@ NOTEBOOK_ARGUMENTS = [ '--allow-root', '--notebook-dir', NOTEBOOK_DIR ] + +SILENCED_SYSTEM_CHECKS = ['fields.W342',] diff --git a/lib/TimeSide b/lib/TimeSide index fcfd1c40..cbba5c69 160000 --- a/lib/TimeSide +++ b/lib/TimeSide @@ -1 +1 @@ -Subproject commit fcfd1c404e907067878e3a75a4ab8f99277be3a6 +Subproject commit cbba5c6929a40bbf52eebded1e12ac1270390454