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

35 Comments

  1. 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)

  2. 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!

  3. 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 ?

  4. 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.

  5. 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?

  6. @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).

  7. 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 ?

  8. 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)

  9. 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.

  10. 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!

  11. 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

  12. 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.

  13. 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!!!

Leave A Reply

Please enter your comment!
Please enter your name here