Flask Tutorial Web Development with Python 5 - Home page improvements

preview_player
Показать описание
In this web development with Python and Flask tutorial video, we continue to improve our home page.

Bitcoin donations: 1GV7srgR4NJx4vrk7avCmmVQQrqmv87ty6
Рекомендации по теме
Комментарии
Автор

For this resizing thingy at 4:20, I think I got to fix it. You are using <div class="navbar-header">  as your first child of <header>. I use <nav class="navbar navbar-inverse"> instead, and do not get this misbehaviour. So may consider just switching the div to a nav :)

wohfab
Автор

This all reminds me of how much I hate front-end development. haha

MRSpyerJournal
Автор

In this video you are copying part of the HTML code from pythonprogramming.net, which is now different. hopefully this is not critical to move with my own version of login and signup buttons :))

fcknfarm
Автор

the modal part is not working. I copy-pasted the same code but the "modal title/save changes" menu doesn't pop up when I click on the "launch demo" button. What should I do? Also the "modal"code that you copied from your site seems to be different than the one on the video. Could not get it t work. You seem to have removed the pop-up thingy and redirected it to a page altogether.

shivrajacharjee
Автор

Thanks so much for your input...you saved my ass by helping me complete my project on time!

swapnanildas
Автор

Is anyone else getting issues with the elements of the navbar bunching up to the left and not positioning properly when using the tutorial code? I've tried using example navbar code direct from the Bootstrap website which works then there is issues with the dropdown menu not working properly (even though I have included the updated 'script' tags from the Bootstrap website). My next attempted fix will probably be mixing things up and using the script tags Harrison uses? Along with the Bootstrap example from the source. If anyone had similar would appreciate a

downtime-pu
Автор

I have this issue where it doesn't immidiatly uses the main.html after i edited it, what could it be?

ProjectNomad
Автор

After I did this I got a 500 error saying the code was wrong. What do I do?

adambilkus
Автор

You should have create a repository in github and upload your files there so we can just go and copy or download man!

AlmazUsonUulu
Автор

your page doesn't use modals anymore, I could't copy it :P

afdsadf
Автор

If I leave the modal-header div in the code I get a "Internal Server Error". If I remove that div everything works fine. Any thoughts?

seejaykay
Автор

First of all thanks for the tutorial!!
I'am having trouble with my modal view, I'am using a form validation to check if the users input matching the requirements, the problem is that when the validation fails the modal view disapears, next time the user opens the modal view the view shows the user what went wrong with the previous input. I know why this is happening, because I render the template after the user hits submit within the modal view, but I dont know how to prevent that the modal view disappears when the validation fails.
Would be great to have your thoughts on this! Thanks alot in advanced

tah
Автор

i have header.html as a template so

How do i retireve the page title.

For example Home.html, about.html. etc.

Shown in the title tag?

is it something like

<title> {{ title }} </title> with in the header.html file

thebarnowlsmusic
Автор

Fantastic first 5 videos in the series. I am so looking forward to completing the series in the next day or two. Thank you so much! Fantastic information and I am learning so much practical information.

enduringpromise
Автор

when you are creating drop down, you said we need to add the js script, so I am wondering is there any specific script for the dropdown or it will inherit the script from the cdn bootstrap java link?

bernafunda
Автор

Hey guys, i just wanted to ask that i did the same things but my .png and the buttons are one under the onder.. Help me please.. Thank you!

kaanberke
Автор

could you please update the modal part as it is not working now and the code has changed in the getbootstrap website as this would help all the one's who are following this great series of python tutorials

mnagen
Автор

Hey I'm getting an internal server error whenever I paste the code for modal, can someone help me out?

liuhu
Автор

I am getting this problem "Uncaught ReferenceError: Popper is not defined
at bootstrap.min.js:6".. I tried my best. Help me to get out of this.

factsbyalok
Автор

Great stuff. Thanks for creating this series!

jcall