diff --git a/bin/steps/django/init b/bin/steps/django/init index d73481e15093c21a0f0bf8c678bb2d16decf8dc0..afc1d458b6c371f8f5e7708bd19a3e22d1fd85cd 100755 --- a/bin/steps/django/init +++ b/bin/steps/django/init @@ -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 \ No newline at end of file +if [ ! "$DISABLE_COLLECTSTATIC" ]; then + source $BIN_DIR/steps/django/collectstatic +fi +