diff --git a/orator/database_manager.py b/orator/database_manager.py index e304d755..c09fdc47 100644 --- a/orator/database_manager.py +++ b/orator/database_manager.py @@ -90,6 +90,7 @@ def disconnect(self, name=None): if name in self._connections: self._connections[name].disconnect() + del self._connections[name] # Fix for https://github.com/sdispater/flask-orator/issues/8 def reconnect(self, name=None): if name is None: diff --git a/pyproject.toml b/pyproject.toml index c067e646..7bf0f82e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ authors = [ readme = 'README.rst' -repository = "https://github.com/sdispater/orator" +repository = "https://github.com/alexpdr/orator" homepage = "https://orator-orm.com/" keywords = ['database', 'orm']