From 9cbace7f76751fcf420ff8b0d2c3888a5c3eded9 Mon Sep 17 00:00:00 2001
From: Kenneth Reitz <me@kennethreitz.com>
Date: Wed, 30 May 2012 15:15:10 -0400
Subject: [PATCH] $DISABLE_COLLECTSTATIC

---
 bin/steps/django/init | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/bin/steps/django/init b/bin/steps/django/init
index d73481e1..afc1d458 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
+
-- 
GitLab