المدة الزمنية 21:15

[Hindi] Creating Our First Flask Post In Hindi - Web Development Using Flask and Python 12

بواسطة CodeWithHarry
44 122 مشاهدة
0
1.4 K
تم نشره في 2018/08/01

This video is a part of my web development using flask and python playlist - /playlist/PLu0W_9lII9agAiWp6Y41ueUKx1VcTRxmf Source Code here - https://www.codewithharry.com/videos/web-dev-using-flask-and-python-12 Web development in python is one of the most requested tutorial series, I get over email. As the popularity of python increases, people become more and more interested in topics like how to send email using flask, how to connect to a database in python flask, how to make rest API in flask etc. In this video I have shown how to make a full complete tech blog from start to finish using flask python. Click here to subscribe - /channel/UCeVMnSShP_Iviwkknt83cww Best Hindi Videos For Learning Programming: ►Learn Python In One Video - /watch/gdJLHvMjJHqjL ►Learn JavaScript in One Video - /watch/opVFu0VBbnoBF ►Learn PHP In One Video - /watch/ICawl3or7Wxrw ►Machine Learning Using Python - /playlist/PLu0W_9lII9ai6fAMHp-acBmJONT7Y4BSG ►Creating & Hosting A Website (Tech Blog) Using Python - /playlist/PLu0W_9lII9agAiWp6Y41ueUKx1VcTRxmf ►Advanced Python Tutorials - /playlist/PLu0W_9lII9aiJWQ7VhY712fuimEpQZYp4 ►Object Oriented Programming In Python - /playlist/PLu0W_9lII9ahfRrhFcoB-4lpp9YaBmdCP ►Python Data Science and Big Data Tutorials - /playlist/PLu0W_9lII9agK8pojo23OHiNz3Jm6VQCH Follow Me On Social Media ►Website (created using Flask) - https://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

الفئة

عرض المزيد

تعليقات - 211
  • @
    @abhinavkhanna82منذ 3 سنوات - Aur yahan abhi thoda maine daal diya hai MASALA.
    Too Good Harry Bhai!
    2
  • @
    @anjalibadlani7435منذ 4 سنوات Hi Harry! Could you please create a playlist on API using Flask? 10
  • @
    @shubhamjaiswal2322منذ 5 سنوات bhai REST API with flask pe banao videos.
    or bahut dhanyawaad itne ache tutorials k liye bauht kuch seekhne ko mila
    Thank you
    God bless you..
    3
  • @
    @MuhammadKaleem-dl4eeقبل 7 أشهر Course is going very amazing, love you harry bhai❤
  • @
    @raisshaikh259منذ 6 سنوات YouTube per hindi me flask ki sabse achi tutorial hai
    Aur bhai data mining ki bhi video banao plz
    4
  • @
    @sayantanbasumallick4419منذ 4 سنوات Thanks Harry.its been too good. Love to see your video. 3
  • @
    @munawarhussain8374منذ 6 سنوات Very useful and detailed video (Y) keep it up (Y) 3
  • @
    @MdRafi-gx9bkمنذ 3 سنوات You r right..Thanks Harry bhai..May Allah bless you a long life..
  • @
    @ashharmansuri6816منذ 4 سنوات wooow awesome .. i am learning from you , bro ,,,,,,, salute you
  • @
    @omisharan1977منذ 5 سنوات Harry Sir, Hindi mein flask ka tuttorial.bahot helpfull 1
  • @
    @smithkumar9743منذ 6 سنوات Wonderful video, Please make a video on integration of Flask Portal with ML Model
  • @
    @tusharwagh3107منذ 5 سنوات Harry Bhai ,
    Bohot hi badhiya tarike se aap sikha rahe ho.
    Very easy language and step by step
    I am facing one issue with XAMPP id="hidden4" class="buttons"> in ubuntu when I'm shutting down my system, next time after restarting the system I'm unable to get that XAMPP server.
    Please let me know ,what is the reason behind it?
    ....وسعت 1
  • @
    @deepakrajak7555منذ 4 سنوات Hello sir I can't fetche data from database i getting no error but still data is not fetching 2
  • @
    @jayantsingh5204منذ 6 سنوات wonderful.herry.
    will you continue this series in next days
    4
  • @
    @AbhishekSharma-pr2ghمنذ 4 سنوات check your img column data:
    as we have defined "img/" in jinja so column data should be about-bg.jpg
  • @
    @alihasan329منذ 5 سنوات Sir, styling on the post/first-post is not applying else where everything is fine 1
  • @
    @pranavbansal9809منذ 4 سنوات Bhai thare videos dekh ke maza aa jata hai
  • @
    @hsinghal179منذ 4 سنوات sir i m facing an issue, when i m dynamically fetching data from my database, my bootstrap in not loading, but when it done statically, it's working properly, please help!
  • @
    @ujjwalkumar19منذ 4 سنوات Hello Harry, m getting this ERROR during running the :
    sqlalchemy.exc.ArgumentError: Mapper mapped class Posts->posts could not assemble any primary key columns for mapped table 'posts' ....وسعت
  • @
    @vishalupadhyay5963قبل 10 أشهر hello harry bhai while i am trying to upload image as like u donrefilename=fname my image is missing bro what i have to do
  • @
    @Harvinderkaur2040منذ 3 سنوات Sir my web is not taking info from database 1
  • @
    @atod2572منذ 4 سنوات i am getting {% set fname= 'img/' + post.img_file %} TypeError. i dont know how , its returning 'post.img_file' as NoneType. so cant concatenate. Please help.
  • @
    @harshgupta-ds2cwمنذ 4 سنوات Anyone who is wondering why there is img problem. The thing is Harry didn't show the img column he added in the database you have to add that and set id="hidden8" class="buttons"> it varchar with length 25. Also update the row with the img name provided in the static folder. Just the name of pic is sufficient. ....وسعت 1
  • @
    @mohduwaish8837منذ 5 سنوات my phpmyadmin has stopped working and when i try to access database it shows 'Fatal error:Uncaught TypeError:Argument 1 passed to phpmyadmin\config\configfile\::updatewithglobalconfig() id="hidden9" class="buttons"> must be of the type array,null given. ....وسعت
  • @
    @creativeimaginator4769قبل 8 أشهر bhai create a blog series with different flask web projects to enhance the flask coding.
  • @
    @muhammadjawadjafriمنذ 2 سنوات Hi Harry Bhai Mai kasy foren key walay table Mai data enter kar sakta plz help and you are amazing programmer
  • @
    @godisgreat12413منذ 6 سنوات Code with Harry bat btao C# ko C hash Bolte hai ya pher Cstash 1
  • @
    @sushantsingh5689منذ 4 سنوات Can anyone tell what will be the final blog ? i mean is this a personal blog (where only a admin can post/delete his/her blog or its a social type blog where anyone can log in /signup and do the actions with his/her blog ?
  • @
    @utkarshjain5258منذ 4 سنوات FSADeprecationWarning: SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and will be disabled by default in the future. Set it to True or False id="hidden11" class="buttons"> to suppress this warning.
    'SQLALCHEMY_TRACK_MODIFICATIONS adds significant overhead and ' erro plz solve
    ....وسعت
  • @
    @HumaRizwanمنذ 4 سنوات Awesome tutorial bro.I subscribed
  • @
    @anandvmcltمنذ 4 سنوات Sear Harry, I found some people facing an error with Slug-url, me also got in trouble and find a solution after 3 Hrs of searching.
    But Not working id="hidden12" class="buttons"> with default /Post/ URL. Kindly correct it.
    @app.route('/post/<string:postslug>', methods=['GET'])
    def post_route(postslug):
    slug2 = str(postslug)
    post = db.session.query(Posts).filter_by(slug = slug2).first()
    return render_template('post.html', params=params, post=post)
    ....وسعت
  • @
    @bashatparween9698منذ 4 سنوات I have an error .
    jinja2.exceptions.UndefinedError: 'None' has no attribute 'img_file'
    please solve
  • @
    @kanhakushwah5736منذ 3 سنوات TypeError: post_route() missing 1 required positional argument: 'post_slug'
    sir mene code website se hi liya h fir bhi ye error dikha raha id="hidden13" class="buttons"> pls solution bta dijie or database bhi same hi banaya h or kisi bhi solution pta ho to pls mujhe bta do
    ....وسعت
  • @
    @outcast__منذ 3 سنوات 'function' object has no attribute 'query' how to solve this issue any ideas? Stuck for a long time
  • @
    @thefreshiefoodloverقبل 3 أشهر i am getting a problem it is not reading my post.tilte values from database just taking slug can anybody my mistake?
  • @
    @manavshah6860العام الماضي can i get the mail ID i got the error which I not understand so could you please find me this?
  • @
    @AdityaSingh-ll5kwمنذ 3 سنوات Hyee I am facing some error while working on it please resolve my error and the error is -('Ssl Wrong Version number').
  • @
    @sahilvanarseمنذ 2 سنوات After the post.title.my page doesnt show the designs.it shows basic html structure..
  • @
    @thecosmosify841منذ 2 سنوات The source code blog website explains more nicely than the video itself.
  • @
    @muhammadali-cv3uqمنذ 4 سنوات harry bhai jab main page sa sample post par click karta ha to page not found araha ha
  • @
    @aakashrajput8843منذ 3 سنوات Apke code ko copy paste krle website ban skta hai kya
  • @
    @sagnicdas2305منذ 3 سنوات AttributeError: 'function' object has no attribute 'query'
    how to solve this problem
  • @
    @MOHITRANA-to7rfمنذ 3 سنوات What is the nam of your data base ?
    not the connector
  • @
    @ritikvishvakarma7152منذ 4 سنوات Bhai meri post ke contact me paragraph aur images h. To unko kese display kru
  • @
    @noorswalleh9957منذ 4 سنوات Harry Bhai plzz help.
    Page not found aarha hai bar bar..Plz help
  • @
    @smitsonani7006منذ 2 سنوات Hey bro can you create a playlist on API using flask ??
  • @
    @imshehranمنذ 4 سنوات I some how manage to debug my error par bhai iss video k bad I quit this playlist ab kuch sahi nhi ho rha , thank you so far
  • @
    @meetakcمنذ 4 سنوات how can we navigate to sample post page
  • @
    @mohdumar1775منذ 5 سنوات Sir mujhe problem aa rhi h maine apke instagram pr bhi contact karne ki koshihs ki h but reply nhi aaya h.
  • @
    @mangeshdate4836منذ 4 سنوات how to run external python script on browser
  • @
    @MasKodeمنذ 4 سنوات tell us how to insert image in new post
  • @
    @kartikzadokar9216قبل 6 أشهر I am getting a error like the img is not displaying on the webpage
  • @
    @anshulojha5699منذ 3 سنوات sqlalchemy.exc.ProgrammingError: (MySQLdb._exceptions.ProgrammingError) (1146, "Table 'codingthunder.posts' doesn't exist") >>>>"I id="hidden14" class="buttons"> am trying to solve this error from 4 days but its not solved help me to solve this issue HArry :( " ....وسعت
  • @
    @swatisandanshiv6687منذ 4 سنوات Params undefined error. Plz help sir
  • @
    @deveshchaurasia5146منذ 4 سنوات Soo good content but why soo less views
  • @
    @CosmicExplorationsbyNasaمنذ 4 سنوات Sir. Ye error day raha ha.
    Sqlalchemy object has no attribute 'Column'
    Kindly help me
    Subscriber from Pakistan ❤️
  • @
    @kumararyan6408منذ 4 سنوات Sirji,when I add some content as insert in database we can not able to change paragraph in content as I add some points also but it prints in same line.please help me to fix this issue
  • @
    @RajneeshOfficialمنذ 6 سنوات Bro! I need DJANGO & DJANGO REST FRAMEWORK (REST APIs) Tutorial.
    Your Way Of Teaching is awesome.
  • @
    @sourabh12jمنذ 5 سنوات I had an error 'url was not found on the server' am continue trying to debug and rewrite code again bt it continue. 2
  • @
    @anupthatal5253منذ 5 سنوات Code sahi chal rahah hey par koi update nahi ayya hai
  • @
    @northernboy1837منذ 2 سنوات Need help please what kind of error !
    TypeError: post_route() missing 1 required positional argument: 'post_slug'
    1
  • @
    @Simranraj-63منذ 4 سنوات For those getting error 404 not found, try this @app.route("/post/<string:post_slug>", methods=['GET']) for the post route 7
  • @
    @crackingbeast7440منذ 6 سنوات Sir ek discussion froum bano na Whi website me 3
  • @
    @manassharma9496منذ 4 سنوات Instead of using jinja for creating fname i just used "img/" before my image name in table 2
  • @
    @alihasan329منذ 5 سنوات Sir , while doing this my data is fetching properly but styling was not applied in the post/first-post page 1
  • @
    @MrAnindyabanerjeeمنذ 5 سنوات @codewithharry i found a little mistake on your blog.. in the coding discussion you forgot to add string to the slugs in file. That's why some of people getting error of url not found. Please fix it soon ....وسعت
  • @
    @ciruslivingstone9234منذ 4 سنوات At in your video when you provide slug name as '/post/first-post' and get the page requested..I am unable to do so..I am getting 'sqlalchemy.exc.InterfaceError'
    I replicated all things as you have done..even gave the same names to the slug and database table..but still am unable to find an answer to it..plz help out
    .
    ...وسعت
    1
  • @
    @priyatayade4015منذ 4 سنوات getting TemplateSyntaxError:tag name expected
    why is it so?..can anyone plz tell me?
  • @
    @muhammadusmanakram406منذ 6 سنوات bro background black m zada sae rahy ga..just my thought
  • @
    @anindyabanerjee1153منذ 5 سنوات for those who are getting error SERVER NOT FOUND.. please add @app.route("/post/<string:post_slug>", methods=['GET']) to your file.. 1
  • @
    @gadgethacker1119منذ 4 سنوات Bro the flaskalchemy not connecting to my private databse
  • @
    @saxenavedant61منذ 4 سنوات post = posts.query.filter_by(slug=post_slug).first()
    by this single line how can you access all attributes of that table by doing post.title post.content id="hidden19" class="buttons">
    don't you have to write separate queries?
    also, can you explain this line
    post = posts.query.filter_by(slug=post_slug).first()
    like different form.if there was no slug, no filter by, simple direct query.
    ....وسعت 1
  • @
    @rudraprasaddash3809منذ 4 سنوات If anyone having problem with xampp :
    try:
    1) goto Config option of Apache(module),
    open Apache(httpd.conf),
    change the port from 80 to 8080 and same thing for localhost (from 80 to 8080)
    >> this will run apache on
    2) goto Config option of Apache(module),
    open Apache(httpd-ss.conf),
    change the host from 443 to 4433 and same thing for virtual host (from 43 to 4433)
    else:
    >> pray to god to forgive your sins that you have done with your PC.
    >> goto terrace of your building/ house with your PC
    >>Perform a freefall experiment on your PC
    .
    ...وسعت
  • @
    @thexurde4973منذ 4 سنوات /
    You Have Not Defined The Img File Column
  • @
    @mayurkoshti1007منذ 4 سنوات Harrybhai!
    What about only "" ? It returns 404 while "" works fine. .
    2
  • @
    @websearchduniya4u426منذ 4 سنوات Bhai you are very good trainer aur apke training ka style achha hai.
    .
    Found error again & again. & I'm trying to resolve this from two days please guide me.
    TypeError: post_route() missing 1 required positional argument: 'post_slug'
    .
    ...وسعت
    1
  • @
    @muhammadkhurram636منذ 3 سنوات Agar ap mai say kisi ki picture show nahi horahi to ap yeh code try kr saktay hain:
    {% set fname = 'assets/img/' + post.img_file %}
    1
  • @
    @meetakcمنذ 4 سنوات @app.route('/post) to pehle se bana hua hai sample post me jane ke liye.. vo load ni ho parha iski vajah se.@app.route('/post/<str:post_slug>') ki vajh se
  • @
    @sandeepdixit7484منذ 4 سنوات koi batado bhai ki username= params['admin_user'] ki jagah database me jo user hai usse match karke dashboard me entry de na ki config.json ke parametrs se bhai koi to batado
  • @
    @Manpreet-mo7xpمنذ 4 سنوات sqlalchemy.exc.ProgrammingError
    yeh error aa raha hai solve ni ho raha pls help
    1
  • @
    @aastikmandil3516منذ 4 سنوات Issue sir always shows No module named 'MySQLdb'