Commit 6aef4dc4 authored by Craig Kerstiens's avatar Craig Kerstiens

removing debugging

parent c50be05f
...@@ -66,16 +66,11 @@ try: ...@@ -66,16 +66,11 @@ 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