Commit 9ee4f11e authored by Craig Kerstiens's avatar Craig Kerstiens

fixing typo for databases dictionary

parent 654a4213
......@@ -94,7 +94,7 @@ import os, sys, urlparse
urlparse.uses_netloc.append('postgres')
urlparse.uses_netloc.append('mysql')
try:
if os.environ.has_key('DATABASE_URL') and DATABASE != None:
if os.environ.has_key('DATABASE_URL') and DATABASES != None:
url = urlparse.urlparse(os.environ['DATABASE_URL'])
DATABASES['default'] = {
'NAME': url.path[1:],
......
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