Skip to content

Commit

Permalink
Merge pull request #465 from homeworkprod-forks/flask-2.3-blueprint-d…
Browse files Browse the repository at this point in the history
…oc-fix

Update blueprint usage to explicitly call `rq_dashboard.web.setup_rq_connection` as of v0.6.6
  • Loading branch information
cjlapao committed Aug 31, 2023
2 parents 1767341 + f6b3774 commit e0bb599
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ import rq_dashboard
app = Flask(__name__)
app.config.from_object(rq_dashboard.default_settings)
rq_dashboard.web.setup_rq_connection(app)
app.register_blueprint(rq_dashboard.blueprint, url_prefix="/rq")
@app.route("/")
Expand Down

0 comments on commit e0bb599

Please sign in to comment.