▶️ Watch Entire Flask Friday Playlist ✅ Subscribe To My KZbin Channel: bit.ly/3ig2eJn bit.ly/2IGzvOR ▶️ See More At: ✅ Join My Facebook Group: Codemy.com bit.ly/2GFmOBz ▶️ Learn to Code at Codemy.com ✅ Buy a Codemy T-Shirt! Take $30 off with coupon code: youtube1 bit.ly/2VC9WUN ▶️ Get The Code bit.ly/2L1jBl5
@imnotaburrito93659 ай бұрын
finally after 5 videos someone that explains everything clearly!
@Codemycom9 ай бұрын
Glad you liked it!
@rauldinho3 жыл бұрын
I'm a simple man. I see a new Codemy video, I like, watch, learn and practice. lol
@Codemycom3 жыл бұрын
You rock!
@francislachapelle1233 жыл бұрын
Just started Flask at my job for a project, and your videos are clear and very instructives. Good job man.
@Codemycom3 жыл бұрын
Glad I could help!
@tradingoptions Жыл бұрын
2023: [Bug Fix] You need to add {{ form.csrf_token }} before or after this line {{ form.hidden_tag() }} on the name.html page. Else if form.validate_on_submit() == False This is a great series of videos. Thanks!
@pmatoss Жыл бұрын
I have no words to describe my gratitude for this series of videos. In addition to being extremely educational and educational, they are so realistic that I am applying them to an educational project that I am developing with a group of friends. Thank you very much for the great work. Greetings from Brazil.
@Codemycom Жыл бұрын
You're very welcome!
@articulation72 жыл бұрын
What a series of the videos! Thanks for that amount of work! Very cool Cheers
@Codemycom2 жыл бұрын
Glad you enjoyed it!
@alicherifi90753 жыл бұрын
Best Fridays, are Flask Fridays
@Codemycom3 жыл бұрын
Yes!
@mehboob_pythonist Жыл бұрын
Amazing lecture sir... Please keep uploading new updated videos on flask. you sre the best mentor
@Codemycom Жыл бұрын
There are many more flask videos in this playlist
@UGLi2 жыл бұрын
Hi, I LOVE your tutorials, they are 100% on point. I'll keep on studying them with pleasure. Just a note : at 7:02, you say DataRequired() is a function, it seems to be an instance of the DataRequired class. It's only a detail but before running the code without the (), and reading the traceback, I was a bit lost :).
@lukagajinov232 Жыл бұрын
Great video, very good and quick explanation. Thanks!
@Codemycom Жыл бұрын
Glad you enjoyed it!
@TorstenFelder-bn2ez2 ай бұрын
Again, an outstanding tutorial- excellent! Question: How would one make the information submitted by one of several forms available for use in all python methods in a Flask project?
@nerminqulu Жыл бұрын
I like you are smile everytime when you saying WTF
@Codemycom Жыл бұрын
haha
@rchocano3 жыл бұрын
Great video, very good explanation. Thank you!
@Codemycom3 жыл бұрын
Thanks!
@expressionamidstcacophony390 Жыл бұрын
This is one of those cases where youtube videos are more helpful documentation than the actual documentation. Dear oh dear.
@Codemycom Жыл бұрын
Glad you enjoyed it!
@GIULI4994 Жыл бұрын
very good tutorial, thanks
@Codemycom Жыл бұрын
Welcome
@david2358 Жыл бұрын
excellent video, just subscribed!!!
@Codemycom Жыл бұрын
Awesome!
@hiwab413 жыл бұрын
I like before seeing your vids! Because i know it gonna be so good -:)
@Codemycom3 жыл бұрын
Wow, thanks!
@sachinsinghal133 жыл бұрын
Me too
@ahmadfaisal63563 жыл бұрын
I'm too
@Darkev77 Жыл бұрын
As usual, clear and concise. Anyone know why I should use wtforms over typical html input tags with specified types (email, password, etc.) and properties (required, title, etc.)?
@AwesomelyAwesomeKidd Жыл бұрын
He explains alittle in the start, basically because you can use wtforms for uploading files and images
@likbezlik11 ай бұрын
I looked at many Flask tutorials and yours is the only one that helped me find a solution to this simple form. Took me a few hours to fix some bugs though. I was very confused with the attributes that we have to pass to the render_template "name=name" and "form=form". What exactly does this part do in the code?
@Codemycom11 ай бұрын
passes the name and the form
@demasjaring54353 жыл бұрын
verry nice explaination ,thx!
@Codemycom3 жыл бұрын
Glad it was helpful!
@andrewsweeney16532 жыл бұрын
Is there a tutorial for adding 1. Date time picker to the form? 2. Multi select dropdowns?
@Codemycom2 жыл бұрын
I don't think so, but you could have checked the playlist faster than it took to ask :-p
@SZGSports2 жыл бұрын
If I wanted to pre populate the form, how would I pass the string?
@radiagulzan2 жыл бұрын
Hey, thank you for the videos! I had the same problem as Patrick. The page doesn't follow the IF condition so doesn't respond back despite reloading. Do you have any idea why this might be happening?
@marymozaffari29632 жыл бұрын
Hi John in 16:19 my code has problem with submit button did you change the code when you run it?
@Codemycom2 жыл бұрын
Did I change the code? You see exactly what I do in the video.
@marymozaffari29632 жыл бұрын
Thank you for reply exactly you didn't and I was studying your code step by step but when I want to run it, It has problem with submit button here is the error: jinja2.exceptions.UndefinedError: '__main__.NamerForm object' has no attribute 'submit'
@Codemycom2 жыл бұрын
@@marymozaffari2963 You'll have to rewatch the video and retrace your steps to see what you did wrong.
@patmower463 жыл бұрын
John, I must've missed something. Everything works with one exception: When I put a name in the name page, press submit, the name goes away, but the page and name are NOT redisplayed. I know I have missed something....but what?!
@Codemycom3 жыл бұрын
I couldn't guess...rewatch the videos and try again :-)
@source_thought2 жыл бұрын
Same here
@brianbwoma99472 жыл бұрын
@@source_thought i think its something to do with the crsf token
@radiagulzan2 жыл бұрын
same!
@radiagulzan2 жыл бұрын
could you solve it? I rewatched and did everything but it is still unresponsive
@koslockwood2 жыл бұрын
Can you recommend any resources on more complex form use? I'd like to better understand passing data back to the python script and ideally creating dynamic forms: essentially my goal is to have a list of objects pulled from a database via API (i've got this working) have the list of objects printed as selectable items in a form, and have the form return a list of objects that were selected for additional processing to be done against.
@Codemycom2 жыл бұрын
I have lots of videos on forms...but there really isn't much more to them.
@stephontidd7051 Жыл бұрын
cant get bootstrap to reflect changes in name.html EX: {{ form.name.label( class = "form-label" ) }} doesnt change the look
@seacook42 Жыл бұрын
Hi John, I've just come back to Flask Fridays and find that this segment is outdated. FlaskForm is no longer supported by wtf. Any chance of an update for this segment?
@Codemycom Жыл бұрын
Of course it's still supported...why would you think that it wasn't?
@BenMrMakinesiyim8 ай бұрын
aaaaahhh it's a hard framework to learn. Soooo many methods and references in there. But thank you anyways for every detail.
@Codemycom8 ай бұрын
Yeah definitely a little harder than Django
@asce3133 жыл бұрын
👍 🔥🔥
@Codemycom3 жыл бұрын
:-)
@wirrexx9 ай бұрын
Love what you are doing. However, I got an error pip install flask-wtf on windows. as It continue to say that the module is missing. However, I can see it in my requirements on pip freeze. Confusing
@Codemycom9 ай бұрын
If it's listed in the requirements, than it's installed. If some module is missing, pip install that module.
@wirrexx9 ай бұрын
@@Codemycom fixed it. I had to build a new system In sublime and make sure that the path was in my virtual environment python.exe
@salmantas2335 Жыл бұрын
in case of is there any one wondering how to change button text other than submit: just pass what you want into the SubmitField that you created in your class. for example: submit = SubmitField('sometext')
@devansh80953 жыл бұрын
Sir is it bad to convert kivy file into exe with pyinstaller?
@Codemycom3 жыл бұрын
Maybe you should ask that question under the video I did in the kivy playlist showing how to convert a kivy file into exe with pyinstaller...
@devansh80953 жыл бұрын
@@Codemycom yes sir that's make sense but now my doubt is clr
@Yanis00713 жыл бұрын
Hello ! How can we prevent duplicate form submissions using the POST?
@Codemycom3 жыл бұрын
It does it by default. If someone hit's reload they are prompted by a form re-submission popup
@jamikemichelohia26153 жыл бұрын
Just came to check WTF wasnt what i thought it was. Jokes aside. great Job
@Codemycom3 жыл бұрын
Haha
@aditya.21 Жыл бұрын
Could anyone help me to hide the secret key using .gitignore , it happens somewhere around @ 6:00 in the video
@danielruzicka38582 жыл бұрын
is it possible to do the python logic not in the html file but in already in the backed python file ?
@Codemycom2 жыл бұрын
Sure, you can use python however you want on the backend.
@paulbrugger96102 жыл бұрын
When you install new packages make sure you are in the virtual environment and not in another terminal that is not in the ve.
@Codemycom2 жыл бұрын
Yep
@abdullahhazari9183 жыл бұрын
I love you men !
@Codemycom3 жыл бұрын
Thanks!
@gtasawstudio50103 жыл бұрын
Good. I very like you ;)
@Codemycom3 жыл бұрын
Thanks! 😃
@alexi27062 жыл бұрын
I am getting 'tuple' object is not callable
@Codemycom2 жыл бұрын
What did you do differently from the video?
@denisgarden13 жыл бұрын
Where can find the code?
@Codemycom3 жыл бұрын
in the pinned comment, like I said in the video.
@orick086 ай бұрын
When I submit the form I get the 404 error page
@orick086 ай бұрын
I had action="POST" instead of method="POST" on the form, careful with the VSCode
@Codemycom6 ай бұрын
@@orick08 glad you got it sorted out
@MagicByIzzy3 жыл бұрын
Hi John i love your videos! Can you please do a video on pymongo and flask especially on storing images in a mongo db database?
@Codemycom3 жыл бұрын
Yeah I might get to that in the future
@MagicByIzzy3 жыл бұрын
@@Codemycom i would really appreciate that! Thanks
@oleksandrshuhurov753610 ай бұрын
SECRET KEY = "f off" From all the deaf listeners / watchers
@deki90to3 жыл бұрын
Well this is where I lost myself :0 I'll stick with django
@Codemycom3 жыл бұрын
Django is always a nice option
@user-gf3hf5ri8b2 жыл бұрын
How did you manage saying WHAT THE FORMS every time! not accidentally saying WHAT THE FXCK haha
@Codemycom2 жыл бұрын
Wasn't easy...and you know...video editing is your friend ;-)
@akgang6023 жыл бұрын
First
@Codemycom3 жыл бұрын
Nice!
@akgang6023 жыл бұрын
@@Codemycom thanks for heart 😁
@hiroshi_kamisatou2 жыл бұрын
What the fuck module
@allanimeworld28983 жыл бұрын
Sir please make a series on pygame its very demanded sir please🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@Codemycom3 жыл бұрын
I probably will at some point
@allanimeworld28983 жыл бұрын
@@Codemycom thanks sir for confirmation stay tuned with you👌👌👌👍👍