Thanks to visit codestin.com Credit goes to github.com
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 c4b7d87 commit bdef00aCopy full SHA for bdef00a
README.rst
@@ -3,7 +3,7 @@ Flask-Redis
3
4
Add Redis Support to Flask.
5
6
-Built on top of redis-py
+Built on top of `redis-py <https://github.com/andymccurdy/redis-py>`_.
7
8
Currently a single namespace within the configuration is supported.
9
@@ -62,7 +62,7 @@ or
62
63
def create_app():
64
app = Flask(__name__)
65
- redis.init_app(app)
+ redis_store.init_app(app)
66
return app
67
68
Usage
@@ -76,8 +76,6 @@ Usage
76
def index():
77
return redis_store.get('potato','Not Set')
78
79
-`redis-py <https://github.com/andymccurdy/redis-py>`_
80
-
81
**Protip:** The `redis-py <https://github.com/andymccurdy/redis-py>`_ package currently holds the 'redis' namespace,
82
so if you are looking to make use of it, your Redis object shouldn't be named 'redis'.
83
0 commit comments