3 Commits

Author SHA1 Message Date
Sander 53a82fda3f Bump version 2022-03-10 15:00:32 +02:00
Sander a82799d358 use self._config instead of app.config 2022-03-10 14:59:32 +02:00
Sander 80f39ec79b Merge pull request #8 from sanderfoobar/session-uri-docs
Change README to support new config option `SESSION_URI`
2022-03-10 14:55:03 +02:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
:license: BSD, see LICENSE for more details.
"""
__version__ = '1.0.3'
__version__ = '1.0.4'
import os
+1 -1
View File
@@ -229,7 +229,7 @@ class RedisSessionInterface(SessionInterface):
"""
if self.backend is None:
import aioredis
uri = app.config.get('SESSION_URI', 'redis://localhost')
uri = self._config.get('SESSION_URI', 'redis://localhost')
self.backend = await aioredis.from_url(
uri, encoding="utf-8", decode_responses=True
)
+1 -1
View File
@@ -24,7 +24,7 @@ INSTALL_REQUIRES = [
setup(
name='Quart-Session',
version='1.0.3',
version='1.0.4',
url='https://github.com/sferdi0/quart-session',
license='BSD',
author='Sander',