[ad_1]
https://i.ytimg.com/vi/PE9ZGniSDW8/hqdefault.jpg
I demonstrate how to use Flask-Bootstrap in this video. Flask-Bootstrap is a great way to have Bootstrap included in your Flask app without you having to think about including the resources yourself.
Get the code here:
https://prettyprinted.com/blog/577501/intro-to-flask-bootstrap
Get the Flask cheat sheet here: http://prettyprinted.com/flaskcheatsheet
Flask Bootstrap docs:
https://pythonhosted.org/Flask-Bootstrap/
Web Development Courses: https://prettyprinted.com
Flask Cheatsheet: https://prettyprinted.com/flaskcheatsheet
Subscribe: http://www.youtube.com/channel/UC-QDfvrRIDB6F0bIO4I4HkQ?sub_confirmation=
Twitter: https://twitter.com/pretty_printed
Facebook: https://www.facebook.com/prettyprintedtutorials/
Github: https://github.com/prettyprinted
Instagram: https://www.instagram.com/pretty_printed
Google Plus: https://plus.google.com/+PrettyPrintedTutorials
Original source
36 responses to “Intro to Flask-Bootstrap”
bro im getting interbal server error
Quick question. If your templates folder is inside another directory, how would you use extends on that. This only works if my templates directory is next to the app.py.
Very Easy To Follow!
When I view the source code on the HTML page, I only see the first link but not the other two?!!
Thanks from Argentina!
I'm using bootstrap with wtforms for a project. How can I change the default template in jinja? Do I just make the modification in css?
Great explanation – had to watch it at 0.75 speed though
Nach 2 Minuten wird einem schwindelig … Buuutssschträääp!
aewsome, flask bootstrap doesnt seem to support bootstrap 4, they have an issue on that here https://github.com/mbr/flask-bootstrap/issues/162
When flask-bootstrap generates the html the link it creates for bootstrap.min.css has part of my server url on the start of it so my app trys to reach the wrong url. I get <link href="/usr/225//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" instead of <link href="/cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css". What would I have to edit for it to generate the correct url?
Your Chanel is very useful for me!! Thanks you
Using it with Python 3 does not load the template on refresh. I need to restart the server each time. Any solutions that you might have ?
Antony is very good teacher and developer. I am strongly recommend those who want to be full stack developer with Python. Here is the link of the his course :
https://prettyprinted.com/
You have such a solid channel for what I want to know about Flask. Thanks
Awesome job in this video. Very helpful to get kick started.
I was stuck on this for so long and this video gave me solace. Thank you!!
Do you not need to restart the server every time you modify your template/code?
So why use Flask Bootstrap rather than creating a layout and adding the bootstrap CDNs in the layout template? In my experience modules like this add a lot of overhead without adding a lot of value. Am I missing something?
Good Work. How about Flask + Angular ? Could you please make video on how to integrate Flask with any frontend framework like Angular, React etc.. ?
Thanks for watching everyone. Check out prettyprinted.com for Flask courses.
Thanks very useful!!!
Very nice explanation. I like this!
This is awesome, simple and perfect explanation
Thank you for taking the awsome video for us.
I've just starting to program with Flask. And, it's great you have put together these new contents. Thanks for posting. I'll keep watching them.
+Pretty Printed Kinda confused here and couldnt find a good answer on google; so I made a html file with only the navbar in it, navbar.html with the block {% block navbar %}. How do I import my navbar to all my html files?
First of all Thanks for your videos, they are great.
Some people like me live in low speed internet connection which they don't have high speed network.
I have to watch your video in 480p, and I can't see very well your codes.
would you record your videos in bigger resolution?
Hi, perfect tutorial, Thanks. just FYI, in flask cheat sheet, url_for['home'] is the correct one , I guess
good work brother!!!
YES! This is just what I needed for today.
BRO WELL DONE .THANK YOU
Finally, someone talks about Flask-Bootstrap.
Thnk you very much
Best programming videos on YouTube! Thanks man
Thank you. I was waiting your video.
you will do more videos about bottle?