Skip to content
Snippets Groups Projects
Commit 72295bf1 authored by Kenneth Reitz's avatar Kenneth Reitz
Browse files

Disable injection for fresh apps

parent c45a2c14
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,10 @@ PROJECT=$(dirname $SETTINGS_FILE) ...@@ -5,7 +5,10 @@ PROJECT=$(dirname $SETTINGS_FILE)
MANAGE_FILE=$(find . -maxdepth 3 -type f -name 'manage.py' | head -1) MANAGE_FILE=$(find . -maxdepth 3 -type f -name 'manage.py' | head -1)
MANAGE_FILE=${MANAGE_FILE:2} MANAGE_FILE=${MANAGE_FILE:2}
echo " FRESH_APP: $FRESH_APP" if [ "$FRESH_APP" ]; then
# Legacy Django injection for existing applications.
touch .heroku/injection_disabled
fi
# Disable injection for new applications. # Disable injection for new applications.
if [ -f .heroku/injection_disabled ]; then if [ -f .heroku/injection_disabled ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment