How to Solve NameError: name 'Bootstrap' is not defined -- flask_bootstrap
Solution: Import the 'Bootstrap' module
# Add the following line to the top of your code
from flask_bootstrap import Bootstrap
For more information:
flask_bootstrap Bootstrap