From 9ee4f11eb2f8e63e24b79b90e5ede461c4317840 Mon Sep 17 00:00:00 2001 From: Craig Kerstiens <craig.kerstiens@gmail.com> Date: Mon, 14 Nov 2011 09:57:16 -0800 Subject: [PATCH] fixing typo for databases dictionary --- bin/compile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/compile b/bin/compile index fac6d0f9..27c43d59 100755 --- a/bin/compile +++ b/bin/compile @@ -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:], -- GitLab