From c4404694e1ca69118f44921770a20b7ca5d0dbb7 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz <me@kennethreitz.com> Date: Wed, 30 May 2012 15:59:55 -0400 Subject: [PATCH] warn after injection --- bin/steps/django/init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/steps/django/init b/bin/steps/django/init index e2901160..89843789 100755 --- a/bin/steps/django/init +++ b/bin/steps/django/init @@ -13,13 +13,14 @@ fi export SETTINGS_FILE MANAGE_FILE PROJECT DISABLE_INJECTION if [ ! "$DISABLE_INJECTION" ]; then + source $BIN_DIR/steps/django/injection echo " ! Notice: settings injection will be deprecated for all new Django " echo " ! apps starting on July 1, 2012. Learn more:" echo " ! https://devcenter.heroku.com/articles/django-injection" - - source $BIN_DIR/steps/django/injection fi + + if [ ! "$DISABLE_COLLECTSTATIC" ]; then source $BIN_DIR/steps/django/collectstatic fi -- GitLab