fixing typo for databases dictionary

This commit is contained in:
Craig Kerstiens
2011-11-14 09:57:16 -08:00
parent 654a42137e
commit 9ee4f11eb2
+1 -1
View File
@@ -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:],