mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
make collectstatic less spammy for ManifestStaticFilesStorage
From issue #11
This commit is contained in:
@@ -20,7 +20,7 @@ if [ ! "$DISABLE_COLLECTSTATIC" ] && [ -f "$MANAGE_FILE" ]; then
|
||||
if [ "$RUN_COLLECTSTATIC" ]; then
|
||||
|
||||
echo " Running collectstatic..."
|
||||
python $MANAGE_FILE collectstatic --noinput 2>&1 | sed '/^Copying/d;/^$/d;/^ /d' | indent
|
||||
python $MANAGE_FILE collectstatic --noinput 2>&1 | sed '/^Post-processed/d;/^Copying/d;/^$/d;/^ /d' | indent
|
||||
|
||||
[ $? -ne 0 ] && {
|
||||
echo " ! Error running 'manage.py collectstatic'. More info:"
|
||||
|
||||
Reference in New Issue
Block a user