underyx / flask-redis

A Flask extension for using Redis
Other
436 stars 71 forks source link

AttributeError: 'NoneType' object has no attribute 'set' #55

Open fastkits opened 3 years ago

fastkits commented 3 years ago

redis_client = FlaskRedis() def create_app(): app = Flask(name) redis_client.init_app(app) return app

Call redis_client in the view

AttributeError: 'NoneType' object has no attribute 'set'

fastkits commented 3 years ago

@underyx