Commit 25d5889d authored by Noah Zoschke's avatar Noah Zoschke

import sys in settings code

parent fef7f644
......@@ -45,7 +45,7 @@ if [ "$NAME" = "Python/Django" ]; then
echo " Injecting code into $SETTINGS_FILE to read from DATABASE_URL"
cat >>$SETTINGS_FILE <<EOF
import os, urlparse
import os, sys, urlparse
urlparse.uses_netloc.append('postgres')
urlparse.uses_netloc.append('mysql')
try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment