In this Flask web development tutorial video, we begin to create our Homepage to the website.
sample code: http://pythonprogramming.net
http://seaofbtc.com
http://sentdex.com
http://hkinsley.com
https://twitter.com/sentdex
Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
source
We're working with Python 4 before it's even released… THIS POWER
Hi @sentdex, Just following along with your tutorial, I'm facing an issue. When I update the html file, the server doesn't reflect it unless I do a service apache2 restart. Any leads how I could fix it? (Small changes are making me go nuts)
BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!BOOTSTRAP!
Bootstrap bootstrap
you guessed it
bootstrap
One question: will all of these work in a closed intranet?
Programmers are cool ya! They know how shit works! Yeahh it feels good to be a programmer
Is there a way to skip restarting server to see changes? I set app.run(debug = True) but does not work properly/
sentdex I'm having trouble with the favicon it's not showing up the code is written properly but it does not show up I'm just using the basic localhost and I'm not using a server could that be the problem or is it the favicon ?
The glyphs on my buttons aren't showing up. Has anyone else seen this problem?
I copied your html code from your website, it's different and I'm getting bad results!
Even when I copy-paste all the code, the button appears bellow the logo. Anyone know hot to make it appear besides logo?
style="display: inline" doesn't help.
Man your videos are entertaining as hell!
Thank you very much for the videos sir.But I am unable to load the colors for buttons and also the first navbar example is just showing the names but the style is not properly loaded can you help me out sir?
@sentdex Dude, I've yet another tee design for you, solid color background with quotation reading "Don't worry, be hacky." I wonder if it's been trademarked. Whether it's sellable or not, I dunno. It's just such a great software engineering principle (unless you're working with SpaceX or medical devices or something, lol).
Thank you for the tutorial.
But you must declare the <header> tag inside the <body> tag.
Thank you for going over your entire process. I'm learning a lot more from this series than I had anticipated.
You are awesome! Thanks for the tutorials
Come on man! Is this a FLASK tut or huge movie about bootstrap???
Hail Jesus, This is the absolute greatest video I've seen since I last brushed my teeth !udaman sentdex!
Interesting tutorial! ЁЯЩВ
Hey Sentdex – how can I customize things myself? I got different variables and I want them at different positions on the homepage
i want to ask a question.. im a starter at flask but i know that there is a bootstrap module for flask.. its simply flask-bootstrap.. have you used it and compared it with using it manually ?
Hi there, I just wanted to add an update to the flaskapp.wsgi touch method for updating that I commented on in the more basic flask tutorial: to further simplify this, you can actually issue a touch command on flaskapp.wsgi from WinSCP by right clicking it and selecting "touch" from the "File custom commands" menu. This can be further automated by assigning a hotkey to that command which you can set from "Customize…" from the same right-click context menu. I set mine to ctrl+0 so now when I update a file I just select flaskapp.wsgi in winscp and hit ctrl+0, which is much more convenient than switching over to putty imo.
Also, I just noticed this and correct me if I'm wrong, you can shorten your style tag to 'style="margin: 5px 15px; height: 44px;" ' and achieve the same effect (top/bottom will be 5px and right/left will be 15px)
I'm getting a broken image when I access my site on chrome, but when I run it on another browser it works fine. Any ideas as to why, and how to fix this?
I suppose it not a good practice to put css code in the html file?
What a good video is it!I'm so crazy for python!!!Thank u for your share
15:06 as I know, using "style" attribute is bad way of managing your html. It is just different programmer prefferences or you just didn't want to organize your CSS file in this tutorial ?
Wow, I have the same "eureka" feeling discovering bootstrap as I did with beautiful soup. I like it how you explain everything from scratch assuming no previous knowledge, Great tutorials, keep it up.
Hi Harrison. You have to be my favourite tutor (is that what i should call you!? lol) on youtube. Deserve more recognition. Keep up the great work!
Great series, thanks!
How can I edit locally, then later upload to the server? I tried to edit local but when I view my html page in chrome, it doesn't load the bootstrap styling because (I think) the python file isn't running, so it doesn't know what to do with the url_for when it gets to it.
I've been just editing my html file, then uploading and viewing to make sure everything works. I'd rather it be local so I don't have to upload and type my password in every time I want to view a change.
Thanks!
hello, I've been following your tutorials for last two days THANK YOU. but I'm having a problem uploading pictures. I uploaded pictures to filezilla but the pictures don't show up. everything works including bootstrap but uploading pictures. Can you please help me with this
Great tutorial man…thank you
I was convinced my first web project was going to be in django and have been struggling through the tutorials. So far I'm liking flask so much better. Your channel is definitely one of the hidden gems on youtube.
Thank you!! Finally someone who tells the truth. I always thought you guys were gods among men with jedi mind skills to never forget code. Kind of like having a hard drive in you brain. But now that you have told me this I understand that I don't have to be perfect. Subbed!!!