Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed error introduced in r14512.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cae746e037fa4d9d3e043413433286276282664d 1 parent 4fb1825
@ramiro ramiro authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/oracle/base.py
View
2  django/db/backends/oracle/base.py
@@ -349,7 +349,7 @@ def _valid_connection(self):
def _connect_string(self):
settings_dict = self.settings_dict
- if settings_dict['HOST'].strip():
+ if not settings_dict['HOST'].strip():
settings_dict['HOST'] = 'localhost'
if settings_dict['PORT'].strip():
dsn = Database.makedsn(settings_dict['HOST'],
Please sign in to comment.
Something went wrong with that request. Please try again.