$DISABLE_COLLECTSTATIC

This commit is contained in:
Kenneth Reitz
2012-05-30 15:15:10 -04:00
parent 74cb870488
commit 9cbace7f76
+6 -3
View File
@@ -12,12 +12,15 @@ fi
export SETTINGS_FILE MANAGE_FILE PROJECT DISABLE_INJECTION
echo " ! Notice: settings injection is deprecated for all new Django apps."
echo " ! Please see the following URL for information on the new usage:"
echo " ! Notice: settings injection will be deprecated for all new Django "
echo " ! apps next month. You can prepapre your application for information on the new usage:"
echo " ! https://devcenter.heroku.com/articles/django#database_settings"
if [ ! "$DISABLE_INJECTION" ]; then
source $BIN_DIR/steps/django/injection
fi
source $BIN_DIR/steps/django/collectstatic
if [ ! "$DISABLE_COLLECTSTATIC" ]; then
source $BIN_DIR/steps/django/collectstatic
fi