Commit c312d917 authored by Kenneth Reitz's avatar Kenneth Reitz

completely set DATABASES

parent 5d2ecd2f
...@@ -19,7 +19,7 @@ indent() { ...@@ -19,7 +19,7 @@ indent() {
} }
echo "-----> Installing dj-database-url..." echo "-----> Installing dj-database-url..."
pip install --use-mirrors dj-database-url | indent pip install --use-mirrors dj-database-url>=0.2.0 | indent
echo "-----> Injecting Django settings..." echo "-----> Injecting Django settings..."
...@@ -32,6 +32,6 @@ cat >>$SETTINGS_FILE <<EOF ...@@ -32,6 +32,6 @@ cat >>$SETTINGS_FILE <<EOF
import dj_database_url import dj_database_url
DATABASES['default'] = dj_database_url.config() DATABASES = {'default': dj_database_url.config(default='postgres://')}
EOF EOF
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