We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23f1552 commit 9ca30d0Copy full SHA for 9ca30d0
django_valkey/base_client.py
@@ -87,8 +87,8 @@ def __init__(
87
options=self._options
88
)
89
90
- self._connection_factory = self._options.get(
91
- "DJANGO_VALKEY_CONNECTION_FACTORY", self.CONNECTION_FACTORY_PATH
+ self._connection_factory = getattr(
+ settings, "DJANGO_VALKEY_CONNECTION_FACTORY", self.CONNECTION_FACTORY_PATH
92
93
self.connection_factory = pool.get_connection_factory(
94
options=self._options, path=self._connection_factory
0 commit comments