pallets-eco / pallets-eco/flask-debugtoolbar
Not working with flask 3.1.0
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 978
- Forks
- 151
- PR merge metrics
- No merged PRs in 30d
Description
from flask import Flask
from flask_debugtoolbar import DebugToolbarExtension
app=Flask(__name__)
app.debug=True
app.config['SECRET_KEY']="sjsdghesrhgnesrkgnesr"
# app.config["DEBUG_TB_INTERCEPT_REDIRECTS"] = True
# app.config["DEBUG_TB_ENABLED"] = True
toolbar = DebugToolbarExtension(app)
# toolbar.init_app(app)
@app.route('/')
def index():
return "home page"
if __name__=='__main__':
app.run(host='0.0.0.0', port=9000)
Environment:
using uv for dependecy management
[project]
name = "flask-debugger-tutorial"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.13"
dependencies = [
"flask>=3.1.0",
"flask-debugtoolbar>=0.16.0",
]
Not able to see any toolbar in browser, i tried on chrome and firebox browser
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the Flask 3.1.0 and flask-debugtoolbar 0.16.0 versions shown, using the example application in the issue body. Inspect the toolbar initialization and compatibility with Flask 3.1; done means the toolbar appears in the browser and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- backend, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100