Skip to content

Commit

Permalink
Merge pull request #227 from d9pouces/master
Browse files Browse the repository at this point in the history
Bug fix (option not taken into account)
  • Loading branch information
mhluongo committed Dec 30, 2013
2 parents 1e030d2 + e83df0b commit e68936c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo4django/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ def __getitem__(self, alias):
self.ensure_defaults(alias)
db = self.databases[alias]
Client = load_client(db['CLIENT'])
conn = Client('http://%s:%d/db/data' % (db['HOST'], db['PORT']), **db['OPTIONS'])
conn = Client('http://%s:%d%s' % (db['HOST'], db['PORT'], db['ENDPOINT']), **db['OPTIONS'])
setattr(self._connections, alias, conn)

return conn
Expand Down

0 comments on commit e68936c

Please sign in to comment.