Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bdef00a

Browse files
committed
Fixed a few oddities in the README
1 parent c4b7d87 commit bdef00a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Flask-Redis
33

44
Add Redis Support to Flask.
55

6-
Built on top of redis-py
6+
Built on top of `redis-py <https://github.com/andymccurdy/redis-py>`_.
77

88
Currently a single namespace within the configuration is supported.
99

@@ -62,7 +62,7 @@ or
6262
6363
def create_app():
6464
app = Flask(__name__)
65-
redis.init_app(app)
65+
redis_store.init_app(app)
6666
return app
6767
6868
Usage
@@ -76,8 +76,6 @@ Usage
7676
def index():
7777
return redis_store.get('potato','Not Set')
7878
79-
`redis-py <https://github.com/andymccurdy/redis-py>`_
80-
8179
**Protip:** The `redis-py <https://github.com/andymccurdy/redis-py>`_ package currently holds the 'redis' namespace,
8280
so if you are looking to make use of it, your Redis object shouldn't be named 'redis'.
8381

0 commit comments

Comments
 (0)