On this video, I’ll be displaying you the best way to make an internet site with Python, masking Flask, authentication, databases, and extra. The objective of this video is to present you what you have to make a completed product you could tweak, and switch into something you want. We will additionally go over the way you create a brand new consumer’s account, the way you retailer these in a database, the best way to log into these consumer accounts, the best way to log off of them, and the way you affiliate that info with a selected consumer.
🔥 Join a FREE TypingDNA Developer Account! https://www.typingdna.com/purchasers/signup.
Attempt the TypingDNA Demo: https://www.typingdna.com/#demo
📝 Code for this tutorial: https://github.com/techwithtim/Flask-Net-App-Tutorial
📺 Repair Pip on Home windows: https://www.youtube.com/watch?v=AdUZArA-kZw&t=10s
📺 Repair Pip on Mac: https://www.youtube.com/watch?v=E-WhAS6qzsU
⭐️ Timestamps ⭐️
00:00:00 | Video Overview
00:01:50 | Mission Demo
00:04:35 | Listing Construction
00:06:40 | Flask Setup & Set up
00:08:55 | Making a Flask App
00:14:01 | Creating Routes/Views
00:21:50 | Jinja Templating Language & HTML Templates
00:47:22 | Signal Up Web page HTML
00:52:14 | Login Web page HTML
00:54:31 | HTTP Requests (POST, GET, and so on.)
00:57:05 | Dealing with POST Requests
01:03:14 | Message Flashing
01:12:42 | Flask SQLAlchemy Setup
01:15:46 | Database Fashions
01:23:42 | International Key Relationships
01:29:10 | Database Creation
01:34:14 | Creating New Consumer Accounts
01:43:16 | Logging In Customers
01:49:17 | Flask Login Module
01:56:03 | Checking if Consumer is Logged In
01:58:54 | Notes HTML
02:02:41 | Including Consumer Notes
02:05:48 | Deleting Consumer Notes
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
💰 Programs & Merch 💰
💻 The Fundamentals of Programming w/ Python: https://tech-with-tim.teachable.com/p/the-fundamentals-of-programming-with-python
👕 Merchandise: https://teespring.com/shops/tech-with-tim-merch-shop
🔗 Social Medias 🔗
📸 Instagram: https://www.instagram.com/tech_with_tim
📱 Twitter: https://twitter.com/TechWithTimm
⭐ Discord: https://discord.gg/twt
📝 LinkedIn: https://www.linkedin.com/in/tim-ruscica-82631b179/
🌎 Web site: https://techwithtim.internet
📂 GitHub: https://github.com/techwithtim
🔊 Podcast: https://anchor.fm/tech-with-tim
🎬 My YouTube Gear 🎬
🎥 Major Digital camera (EOS Canon 90D): https://amzn.to/3cY23y9
🎥 Secondary Digital camera (Panasonic Lumix G7): https://amzn.to/3fl2iEV
📹 Major Lens (EFS 24mm f/2.8): https://amzn.to/2Yuol5r
🕹 Tripod: https://amzn.to/3hpSprv
🎤 Major Microphone (Rode NT1): https://amzn.to/2HrZxXc
🎤 Secondary Microphone (Synco Wi-fi Lapel System): https://amzn.to/3e07Swl
🎤 Third Microphone (Rode NTG4+): https://amzn.to/3oi0v8Z
☀️ Lights: https://amzn.to/2ApeiXr
⌨ Keyboard (Daskeyboard 4Q): https://amzn.to/2YpN5vm
🖱 Mouse (Logitech MX Grasp): https://amzn.to/2HsmRDN
📸 Webcam (Logitech 1080p Professional): https://amzn.to/2B2IXcQ
📢 Speaker (Beats Tablet): https://amzn.to/2XYc5ef
🎧 Headphones (Bose Quiet Consolation 35): https://amzn.to/2MWbl3e
🌞 Lamp (BenQ E-reading Lamp): https://amzn.to/3e0UCr8
🌞 Secondary Lamp (BenQ Screenbar Plus): https://amzn.to/30Dtafi
💻 Monitor (BenQ EX2780Q): https://amzn.to/2HsmUPZ
💻 Monitor (LG Ultrawide 34WN750): https://amzn.to/3dSD7tS
🎙 Mic Increase Arm (Rode PSA 1): https://amzn.to/30EZw9m
🎚 Audio Interface (Focusrite Scarlet 4i4): https://amzn.to/2TjXsih
💸 Donations 💸
💵 One-Time Donations: https://www.paypal.com/donate?hosted_button_id=CU9FV329ADNT8
💰 Patreon: https://www.patreon.com/techwithtim
◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️◼️
⭐️ Tags ⭐️
– Construct an internet site
– Python tutorial
– Flask
– Be taught Python
– Learn how to use Python
– HTTP requests
– HTML Python
– Consumer accounts Python
⭐️ Hashtags ⭐️
#PythonWebsite #TechWithTim
source
Start a high paying tech career making $60k+/year with NO DEBT: https://coursecareers.com/a/techwithtim
Really great Tutorial!
Great Video. It helped me a lot. Does anyone know how to deploy this as a website.
The database configuration is not working I had to do some work around used new boilerplate code which made it run! Anyways, nice tutorial.
37:37 , navigation is not showing up. What to do now ?
I followed the code exactly. It doesn't create a database and the code saved in github doesn't even include the line of code to create database.
about halfway through everything seemed to go to shit with errors everywhere. I enjoyed it and found it valuable until then
You are great, Tim. Two years later, this is as new as ever. It's the best flask framework tutorial I have seen. Thank you a million times. 🍻 cheers
hey man can you help me? Im stuck on the error "ModuleNotFoundError no module named website.
im using interpreter 3.11.5 64 bit
I am getting this error : TypeError
TypeError: object of type 'NoneType' has no len()
when tryping to create a account
With which url can users use in accessing the website?
Is it an online site or offline?
I'm wn absolute beginner please.
Good tutorial. What is the shortcut for beautify the code
Hi everyone. Newbie here. is it possible to make 1 webpage using Python then the rest is HTML for front end? like for example, i do the log-in screen with Python?
24:16 you click a keybind and then that area changes shape, what did you do?
28:38
where database is stored and how to open a database
I'm having an error while creating the database, ut keeps saying create_all got an unexpected keyword argument 'app'
The tutorial is sooo good, i am not good in english, but i understood everything, thank you
love your videos! question. I already have a database with all this sports data, which my code analyzes it and provides information. how do I get it to connect to a database that already exists? Instead of creating users like you are. I saw your video on putting the SQL database on a server, can I do it that way and just connect to it? or do i have to now go through all of my code and change all the queries?
dude i am stuck bad at the data base section and i don't understand why.. tried copying the given code in the description but that didn't help me either i rewrote that code as well like three times need real help ;(
This tutorial is good but it would be better if you used simple terms for us newbies, thanks alot tho!
Hi Mr.Tim, I am halfway in the video, and I must say that I absolutely love it. I would appreciate if you could give more guidance on how to make this flask app ready for production deployment.
Dude this is an incredible tutorial thank u so much. I'm working on a group project and this helped me feel so much more confident in my understanding of all this, your'e a great teacher
this was incredibly complete
i do appreciate it 🙂
Why it displays website has no attributes 'create_app' 😬
54:21 I do not get method not allowed and the alerts dont work. I triple checked all my code
UPDATE i noticed i wasnt getting post requests and the problem was in signup.html i put form.methods="POST" with an s! keep debugging
Really helpful Tim! The only part I would like you to update about is that the 'db.create_all(app=app)' method is obsolete in the latest version of flask-sqlalchemy. Instead we now need to us a 'with app.app_context():' to use 'db.create_all()'. Also in my PC, the new database is created in a new folder called 'instance' by default using the same code as yours. It would be great if you could explain why that happens.
my app keeps saying it cannot find a module called website
thank you so much Tim! I wonder why I cannot access to my website on my phone
I wish you could tell us extensions and plugins we need for our code editors in these tutorials since sometimes runing the problem causes problems
So this is one of the best videos you can ever find web development with python. I really love the way you you explain step by step, so detailed but I have a problem in the __init__.py file, under the db.create_all(app=app), anytime I try to run the file it shows that it got an unexpected keyword argument ‘app’.
Please I need your help.
There are some things you not explaining well like the url
home.html does work for me any solution? I got error "UndefinedError
jinja2.exceptions.UndefinedError: 'user' is undefined"
bruh, please stop calling it jenga/jinga. It's jinja 😭
Please I need help
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.
This what i keep getting
@TechWithTim
How to solve that python code in curly brackets doesnot work