diff --git a/bin/compile b/bin/compile index 386596e..d80c77b 100755 --- a/bin/compile +++ b/bin/compile @@ -91,7 +91,7 @@ echo "-----> Installing dependencies using pip version $(pip --version | awk '{p pip install --use-mirrors -r requirements.txt --src ./.heroku/src | indent # Django support. -if [ "$NAME" = "Python/Django" ]; then +if [ "$NAME" = "Python/Django" ] && ! [ "$DISABLE_INJECTION" ]; then source $BIN_DIR/steps/django fi