Commit c50be05f authored by Craig Kerstiens's avatar Craig Kerstiens

adding some debugging

parent 1e35f599
...@@ -66,11 +66,16 @@ try: ...@@ -66,11 +66,16 @@ try:
'HOST': url.hostname, 'HOST': url.hostname,
'PORT': url.port, 'PORT': url.port,
} }
print 1
if url.scheme == 'postgres': if url.scheme == 'postgres':
DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2', DATABASES['default']['ENGINE'] = 'django.db.backends.postgresql_psycopg2'
print 2
print DATABASES
if url.scheme == 'mysql': if url.scheme == 'mysql':
DATABASES['default']['ENGINE'] = 'django.db.backends.mysql', DATABASES['default']['ENGINE'] = 'django.db.backends.mysql'
print 3
except: except:
print 4
print "Unexpected error:", sys.exc_info() print "Unexpected error:", sys.exc_info()
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