Web Development Using Python Flask in one video: In this python flask tutorial, we will see how to make awesome websites using flask and python. We will ee database connectivity using flask-sqlalchemy
Source Code: https://drive.google.com/file/d/1wU-iONfHYLfZhsMay_rAMCEeIaiBW5_W/view?usp=sharing
⌚ TimeStamps:
00:00 – Introduction
02:17 – Download & Installing VS Code
04:08 – Installing Necessary Modules
07:39 – Activating Virtual Environment
09:19 – Installing flask module
10:26 – Creating a flask minimal app
18:03 – static and templates directories
23:23 – Making an app beautiful by adding HTML
36:49 – Creating a database for the To-Do App
39:01 – SQLAlchemy database URI
49:03 – Querying Records
54:44 – Adding Loop Counter
56:50 – Getting forms working
01:17:00 – Updating To-do Items
01:17:12 – Template Inheritance
01:18:12 – Creating a base template
01:23:21 – CRUD operation
01:23:42 – Making update operation work
01:30:11 – Free JavaScript Course
01:31:15 – Deploying To-dos App on Heroku
01:45:28 – Final view of To-do app
01:46:45 – Where to go from here

►Check out my English channel here: https://www.youtube.com/ProgrammingWithHarry
►Click here to subscribe – https://www.youtube.com/channel/UCeVMnSShP_Iviwkknt83cww

Best Hindi Videos For Learning Programming:
►Learn Python In One Video – https://www.youtube.com/watch?v=ihk_Xglr164

►Python Complete Course In Hindi – https://www.youtube.com/playlist?list=PLu0W_9lII9agICnT8t4iYVSZ3eykIAOME

►C Language Complete Course In Hindi –
https://www.youtube.com/playlist?list=PLu0W_9lII9aiXlHcLx-mDH1Qul38wD3aR&disable_polymer=true

►JavaScript Complete Course In Hindi –
https://www.youtube.com/playlist?list=PLu0W_9lII9ajyk081To1Cbt2eI5913SsL

►Learn JavaScript in One Video – https://www.youtube.com/watch?v=onbBV0uFVpo

►Learn PHP In One Video – https://www.youtube.com/watch?v=xW7ro3lwaCI

►Django Complete Course In Hindi –
https://www.youtube.com/playlist?list=PLu0W_9lII9ah7DDtYtflgwMwpT3xmjXY9

►Machine Learning Using Python – https://www.youtube.com/playlist?list=PLu0W_9lII9ai6fAMHp-acBmJONT7Y4BSG

►Creating & Hosting A Website (Tech Blog) Using Python – https://www.youtube.com/playlist?list=PLu0W_9lII9agAiWp6Y41ueUKx1VcTRxmf

►Advanced Python Tutorials – https://www.youtube.com/playlist?list=PLu0W_9lII9aiJWQ7VhY712fuimEpQZYp4

►Object Oriented Programming In Python – https://www.youtube.com/playlist?list=PLu0W_9lII9ahfRrhFcoB-4lpp9YaBmdCP

►Python Data Science and Big Data Tutorials – https://www.youtube.com/playlist?list=PLu0W_9lII9agK8pojo23OHiNz3Jm6VQCH

Follow Me On Social Media
►Website (created using Flask) – http://www.codewithharry.com
►Facebook – https://www.facebook.com/CodeWithHarry
►Instagram – https://www.instagram.com/codewithharry/
►Personal Facebook A/c – https://www.facebook.com/geekyharis
Twitter – https://twitter.com/Haris_Is_Here
Comment “#HarryBhai” if you read this 😉😉

source

48 Comments

  1. Any solution to this error ? >> " This typically means that you attempted to use functionality that needed

    the current application. To solve this, set up an application context

    with app.app_context(). See the documentation for more information."

  2. why db = SQLAlchemy showing this error (Exception has occurred: AttributeError

    module 'sqlalchemy' has no attribute '__all__'

    File "C:UsersazalaOneDriveDocumentsazal codeflaskapp.py", line 7, in <module>

    db = SQLAlchemy(app)

    ^^^^^^^^^^^^^^^

    AttributeError: module 'sqlalchemy' has no attribute '__all__')

  3. If someone facing error like me just incase it shows that flask is installed but showing the error no module found follow these simple steps
    Open the Start menu and search for "Environment Variables".

    Click on "Edit the system environment variables".

    Click on the "Environment Variables" button at the bottom right.

    Under "System variables", scroll down and look for "Path".

    Click on "Edit" and then "New".

    Add the directory where Flask is installed (e.g. F:FLASKenv) to the list of directories in the Path variable.

    Save the changes and restart PowerShell.

  4. 'Import "flask_sqlalchemy" could not be resolved from sourcePylance' I am facing this error while importing sql alchemy 'from flask_sqlalchemy import SQLAlchemy' Plz guide me

  5. Hi Sir, got this error -> "This typically means that you attempted to use functionality that needed

    the current application. To solve this, set up an application context

    with app.app_context(). See the documentation for more information." when I am creating DB.

  6. 44:06 use "pip install -U Flask-SQLAlchemy" if it is showing "AttributeError: module 'sqlalchemy' has no attribute '_all__'. Did you mean: '__file__'?" this error. This will upgrade the version of flask-sqlalchemy to 3.0.3. The error is showing it seems the .__all_ attribute has been removed in the recently released SQLAlchemy 2.0.

  7. so here is the most searched thing if you are having error while creating db here is the code instead of what he have written here:

    from app import app, db

    # create the application context

    with app.app_context():

    # access the database

    db.create_all()

  8. This is for the first time I am watching your video with full concentration and properly, my mind changed as I used to think why "Code with Harry" is so much rated, is it over rated ??
    But literally my mind changed now and I love the way you teach, the way you explain, the way to present your knowledge to us for making us understand effectively. Love your content. Was very usefull, Thank you Sir for the efforts you put on your video. ❤️

Leave A Reply

Please enter your comment!
Please enter your name here