Python Blog Tutorial #3 - Creating And Deleting Posts

Python Blog Tutorial #3 - Creating And Deleting Posts

Tech With Tim

2 года назад

28,090 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Abacus Systems
Abacus Systems - 10.11.2023 12:01

Hey Tim, just wanted to drop a quick comment to say how much I appreciate your tutorial! 🙌 Your explanations are so clear and easy to follow, making Python concepts that seemed complex before, now feel like a breeze. Your teaching style is top-notch, and I genuinely enjoy learning from your videos.

Thanks a ton for sharing your knowledge with the community! 🚀 Looking forward to more Python tutorials from you. Keep up the fantastic work, and keep those videos coming! 👏

Ответить
Tawo Play's
Tawo Play's - 13.05.2023 18:43

So uhmm
How can i do the display all the posts
In php code?
Please reply
I really need help
I'm a beginner at coding btw

Ответить
Djidda Mht
Djidda Mht - 09.05.2023 22:39

i recommand this tutorial to a person that want learn django also cause this is like initiation to a django
I watch others tutorial also but they put all the code in app file and not like auth model etc

Ответить
Odimayo David
Odimayo David - 10.04.2023 21:08

I don’t know what I’m doing wrong, but the create_all(app=app) is giving me an error unexpected app keyword

For anyone that runs into this same error try this:
with app.app_context():
db.create_all()

Ответить
Brodie Watson
Brodie Watson - 04.03.2023 20:15

Two down, three to go! Can't wait to have a fully functional blog I can write to everyday. Thank you Tim!

Ответить
shaijyy
shaijyy - 28.01.2023 18:57

Hey Tim!
The database still creating in an instance folder.
Can I get a fix to that?

Ответить
tobiti34
tobiti34 - 28.09.2022 03:50

Please don't use a link tag in a button that is so bad practice, maybe in specific cases you would want this, but keep in mind you just want to link a page and give it the shape of a button!
Instead, just do: <a class="btn btn-primary btn-lg" href="/create-review"> Create a post </a>

Ответить
Sam Adrian P. Sabalo
Sam Adrian P. Sabalo - 23.08.2022 08:25

Is it possible to add comments using Flask socketIO? so that I dont have to refresh the page while at the same time showing all users the comment that was created? I did it with jquery. It does add the comment, but other users still need to refresh their page to see it.

Ответить
That one cool kid
That one cool kid - 20.05.2022 09:14

Hey Tim,
Great tutorial, I was wondering how I could add files to my posts, like so I can post a picture. Thank you

Ответить
jordog
jordog - 18.04.2022 23:21

Hello everyone, i keep getting this issue:
from .models import Post, User
ImportError: attempted relative import with no known parent package
I would appreciate it if anyone could help.

Ответить
Zdravko Jovancevic
Zdravko Jovancevic - 08.03.2022 20:05

I can't delete my posts now something is not okay with that id

Ответить
Zdravko Jovancevic
Zdravko Jovancevic - 08.03.2022 17:58

If I log out it doesn't display the text that I posted on the homepage. It asks me to login in order to access the homepage? I still cannot see where is the problem. If someone could help me I would appreciated it.

Ответить
jp dwmkryft
jp dwmkryft - 29.12.2021 09:11

my brain feels like silly-putty after this, but all the more bigger!
thanks Tim!

Ответить
vavancheg
vavancheg - 09.11.2021 15:21

Hello, you just save my coursework

Ответить
Darwin Quiñones
Darwin Quiñones - 23.09.2021 06:22

Thank you so much you're really good at this. I´ve been learning a lot from your videos. Regards from Colombia.

Ответить
Blue Square
Blue Square - 15.08.2021 11:34

Tim there's a <center> element. You don't have to keep doing <div align="center">

Ответить
Pragati Bhardwaj
Pragati Bhardwaj - 11.08.2021 15:54

Your tutorials are really awesome! Keep up the good work man!

Ответить
Dark-Star Zed
Dark-Star Zed - 08.08.2021 01:40

the name of the extension that hightlight jinja code is "jinja"

Ответить
TCG vs OCG
TCG vs OCG - 06.08.2021 15:32

Can you choose webpage read code and explain?

Ответить
TCG vs OCG
TCG vs OCG - 06.08.2021 15:30

Its really good thx a lot

Ответить
Atharva Vashist
Atharva Vashist - 03.08.2021 13:42

It would be fun if you add tags in it, so user can see the type of post.

Ответить
SonGoku Saiyan
SonGoku Saiyan - 31.07.2021 16:32

anyone knows the name of this vs code theme? Thnx

Ответить
Mãstèr Srî Kávîprìyåñ
Mãstèr Srî Kávîprìyåñ - 31.07.2021 08:46

Hello, everyone. Most of my bootstrap classes are not working properly, like navbar toggling and button toggling... Please help me.

Ответить
zahraa aliossf
zahraa aliossf - 30.07.2021 17:32

marhaban 'ana 'um 'aytam min suria..wa'abhath ean yusaeiduni min 'ahl alkhayr tawkil manzil yawini wa'abnayiy la mueil li wala warid wa'unashidukum musaeadati 'iin kan fi qulubikum rahmat wadamir musaeadati 'iin kan ladayh alqudrat ealaa 'an yunqidhani wa'abnayiy fasuria balad aleaysh fih saeb jidana washukran lakum

Ответить
heleen ziyad
heleen ziyad - 30.07.2021 17:28

700K Wow👏👏👏 👏

Ответить
Efe Buyuk
Efe Buyuk - 30.07.2021 13:50

Hey there, i love python and flask for web development but i was asked to learn php for backend development at the company im about to start working. Is php really better than python/flask for backend web development?

Ответить
Shreyas KUlkarni
Shreyas KUlkarni - 30.07.2021 11:22

Congratulations for 700k subs Tim 👏👏👏
Keep up the good work and All the best for your journey

Ответить
xLostGaming
xLostGaming - 30.07.2021 01:49

How do i get my vs code to do the text highlights yours does

Ответить
Andrew Anastasiades
Andrew Anastasiades - 30.07.2021 01:18

Hey Tim! Do you use a plugin for jinja syntax highlighting in vscode?

Ответить
Dawid Staniek
Dawid Staniek - 29.07.2021 22:35

I listen Tim tutorials before I go sleep, they are better than relaxing music :) Congratulation for 700k sub

Ответить
max gh
max gh - 29.07.2021 21:23

nice

Ответить
Melissa Leigh
Melissa Leigh - 29.07.2021 21:01

700k!!!!

Ответить
Aarjav Jain
Aarjav Jain - 29.07.2021 20:28

Tim how is your jinja code being highlighted, which extension is it?

Ответить
DS Cuber
DS Cuber - 29.07.2021 20:01

can you please tell your vscode color scheme, I tried lots of different monokais, but couldn't find yours

Ответить
Waipali's Revenge
Waipali's Revenge - 29.07.2021 19:52

Hey there!
Is it possible to use python 3 along an Apache2 server instead of PHP?

Ответить
elpython3
elpython3 - 29.07.2021 19:05

Hiyo Tim! Congrats on 700k subs!

Is there a way to make some kind of admin user? Like, the admin can delete all posts, no matter if the admin wrote the post? And, is there a way to edit a post?

Ответить
Phil Toa
Phil Toa - 29.07.2021 19:02

Nice.

Ответить
Bina Prajapati
Bina Prajapati - 29.07.2021 18:46

Congrats 700K!!

Ответить
Bing Chilling
Bing Chilling - 29.07.2021 18:45

Congratulations for reaching 700K subs Tim, you are gonna reach 1M soon 😀❤️

Ответить
Ahmed Yamany
Ahmed Yamany - 29.07.2021 18:39

bro, You forget to write Flask in the title

Ответить
Haider Ali
Haider Ali - 29.07.2021 18:34

If we build our portfolio website and write blogs there using this tutorial how would we able to make it public for free?

Ответить
captain planet
captain planet - 29.07.2021 18:30

Great job Tim 👏👍

Ответить
Lakshya Chopra
Lakshya Chopra - 29.07.2021 18:20

700k subs, congrats Tim!

Ответить
Prashant Rawat
Prashant Rawat - 29.07.2021 18:13

Thanks for tutorial
I want to ask a question , how can I upload a photo such as logo of my website on navbar

Ответить
Parth Tuteja
Parth Tuteja - 29.07.2021 18:13

Hey! Can you give a tutorial on how to download and edit that database that we have created of users (not by coding...instead excel or something)please?

Ответить
Arnav Meena
Arnav Meena - 29.07.2021 18:07

All of his subs are sleeping lol. Please reply tim lol.

Ответить
Not.stolen 14
Not.stolen 14 - 29.07.2021 18:03

ly tim <3

Ответить
TjoshgGaming
TjoshgGaming - 29.07.2021 18:02

cool!

Ответить