mirror of
https://github.com/kennethreitz/heroku-buildpack-python.git
synced 2026-06-05 23:10:16 +00:00
user_env_compile for disabling injection
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ echo "-----> Installing dependencies using pip version $(bin/pip --version | awk
|
||||
pip install --use-mirrors -r requirements.txt | indent
|
||||
|
||||
# Django support.
|
||||
if [ "$NAME" = "Python/Django" ]; then
|
||||
if [ "$NAME" = "Python/Django" ] && ! [ "$DISABLE_INJECTION" ]; then
|
||||
source $BIN_DIR/steps/django
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user