Update and Edit Blog Post - Django Blog #6

  Рет қаралды 45,151

Codemy.com

Codemy.com

Күн бұрын

Пікірлер: 74
@Codemycom
@Codemycom 4 жыл бұрын
▶️ Watch Entire Django Blog Playlist ✅ Subscribe To My KZbin Channel: bit.ly/3bWN6wj 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
@kelver3158
@kelver3158 2 жыл бұрын
I follow you
@Codemycom
@Codemycom 2 жыл бұрын
@@kelver3158 thanks
@emmanuelcholangandu9397
@emmanuelcholangandu9397 4 жыл бұрын
I must admit, you are undoubtedly the best Django tutor. I have watched a bunch of other Django vids on here but yours beat them all. Simple and clear as should be. Waiting for the 'Delete Post' vid...
@Codemycom
@Codemycom 4 жыл бұрын
Wow, thanks!
@briangreenberg153
@briangreenberg153 3 жыл бұрын
John, I'm a bit behind times! Just now going through this series of yours (from last year) and finding, as usual, you explain things so much more clearly than others do! Thanks for your good work!
@Codemycom
@Codemycom 3 жыл бұрын
Ha, glad you’re enjoying it!
@dradrigapatrick
@dradrigapatrick 4 жыл бұрын
You are just cracking me up with laughter due to reasons attached certain days ahhhhhhh! Otherwise this is best lesson and fun i have got so far on this channel!!
@Codemycom
@Codemycom 4 жыл бұрын
Haha glad you're enjoying them!
@savithnishitha5562
@savithnishitha5562 4 жыл бұрын
@@Codemycom cant we disable that link ??
@RinkumoniKhanikar
@RinkumoniKhanikar 4 жыл бұрын
I didn't know django had this magic It helped me a lot Thanks John
@Codemycom
@Codemycom 4 жыл бұрын
Glad it helped!
@pauloarbelaez
@pauloarbelaez Жыл бұрын
Great Videos and Tutorials! I have learned LOTS with this channel. In this video, probably an option is that the author is always the User(username). Unless, any user can assign anyone as an author... and while editing, there is no need to have that field when the authentication is in place.
@kelver3158
@kelver3158 2 жыл бұрын
i am very happy because i am learning django and you are an excellent teacher, thanks for sharing your knowledge🤟
@Codemycom
@Codemycom 2 жыл бұрын
you're very welcome
@maiadaabdelgawad6805
@maiadaabdelgawad6805 3 жыл бұрын
...from Egypt >>> you are great
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@18621005194
@18621005194 4 жыл бұрын
good humor, love your content, boom
@Codemycom
@Codemycom 4 жыл бұрын
Thanks!
@dilipspk
@dilipspk 4 жыл бұрын
That's it? What a class based views simplicity Expecting advance concept also,me, follower of you...
@Codemycom
@Codemycom 4 жыл бұрын
Yep, that's it. Django doesn't have to be complicated :-)
@TechWithSabri
@TechWithSabri 4 жыл бұрын
Yes that’s what we are talking about 👌😊😊 Thnk you sir
@Codemycom
@Codemycom 4 жыл бұрын
Ha, glad you liked it!
@blackcat7660
@blackcat7660 3 жыл бұрын
Your Video are help me . Thank you so much
@Codemycom
@Codemycom 3 жыл бұрын
Very welcome!
@shiveshtiwari2612
@shiveshtiwari2612 2 жыл бұрын
Hi! Why didn't you close the form tag 2:00 ? Is that an error or intentionally? For some reasons like the csrf_token ?
@Codemycom
@Codemycom 2 жыл бұрын
They don't need to be closed.
@daraqadir
@daraqadir 3 жыл бұрын
Thank you!
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@heroCode20
@heroCode20 4 ай бұрын
❤❤❤❤❤❤
@abdulrehmanrais1077
@abdulrehmanrais1077 4 жыл бұрын
If i want to add another blog a different blog on different page so what am I gonna do? create another template? or I can store all blogs in one template? plz reply
@azarsirdash
@azarsirdash 4 жыл бұрын
Hi, Thanks for Video How to use fonts and text colors in editing posts?
@joseenocperez
@joseenocperez 4 жыл бұрын
Is there anyway to add validation to this. Without validation user will be able to input anything, for example I would like to show a message when user submit the form if any of the field is blank, or show a custom message for any error on my form, how can i do that in here
@RaviKumar-ej8os
@RaviKumar-ej8os 3 жыл бұрын
Great ! hit the like button.
@Codemycom
@Codemycom 3 жыл бұрын
Thanks!
@miraccan00
@miraccan00 4 жыл бұрын
Thank you for your time :)
@Codemycom
@Codemycom 4 жыл бұрын
My pleasure!
@balain501
@balain501 4 жыл бұрын
Hi John, any plan to post video on Django with DB?
@Codemycom
@Codemycom 4 жыл бұрын
This whole series is Django with DB...I don't understand your question.
@balain501
@balain501 4 жыл бұрын
@@Codemycom oops, sorry John. I was watching blog making tutorials and mistook it. Actually I was supposed to ask about Django with Postgresql.
@Codemycom
@Codemycom 4 жыл бұрын
@@balain501 You just swap out postgres in your settings.py file. I have a course on how to do it at Codemy.com
@balain501
@balain501 4 жыл бұрын
Joined "Total Membership - All Courses". I have a private library for which I watched thru your complete course on Tkinter. It helped me a lot. You are my tutor. Thank you John!
@Codemycom
@Codemycom 4 жыл бұрын
@@balain501 Awesome :-) welcome to the site!
@adigunolamide3230
@adigunolamide3230 4 жыл бұрын
Is it okay to go deep into django or like every frameworks they come and go?
@Codemycom
@Codemycom 4 жыл бұрын
Django is the most popular Python web framework...it's not going anywhere.
@perikala.rahulpriyadarsana2452
@perikala.rahulpriyadarsana2452 3 жыл бұрын
im getting an error type object 'Post' has no attribute '_default_manager' somebody help me please
@sajonarkaur1727
@sajonarkaur1727 3 жыл бұрын
I am having the error - updateview is missing a queryset. I have both model and form_class tag, I don't know where is the error. Please suggest solution, I have looked everywhere for solution but unable to find
@Codemycom
@Codemycom 3 жыл бұрын
put it away for a few days and come back and rewatch the videos and you'll see what you did wrong
@vishalmishra1937
@vishalmishra1937 4 жыл бұрын
inspite of selecting user in dropdown how to dispaly name of user who is loggedin
@Codemycom
@Codemycom 4 жыл бұрын
Good question, I might do a video on that.
@deki90to
@deki90to 4 жыл бұрын
How many monitors do you have around you man? Best videos ever! Btw do you prefer learning Flask before Django?
@Codemycom
@Codemycom 4 жыл бұрын
A couple lol it doesn't matter which you learn first...it's just personal preference. I learned Django first myself.
@ZiggyJnckh
@ZiggyJnckh 4 жыл бұрын
What can i use to display edited when the document is edited? Also, is there a way to add timestamps to the post when they were posted or edited without having a form for it but just django running a script on the backend? I love your videos John! Im trying to convert my PHP project into Django since i hear that PHP is becoming outdated and compared to Django, yes it is. I just have no experience with Python or Django so im trying to follow this tutorial project! Looking forward to finish it. By the way, your channel is underrated!
@shot8136
@shot8136 4 жыл бұрын
A models.DateTimeField with the attribute "auto_now_add = True" in your actual post model should do what you want. ``` post_date = models.DateTimeField(auto_now_add=True) ``` you don't even have to specify the 'post_date' in the fields as django automatically adds it when the form is sent out.
@ZiggyJnckh
@ZiggyJnckh 4 жыл бұрын
@@shot8136 Thank you! I will test this soon :)
@freeeagle8862
@freeeagle8862 4 жыл бұрын
How we can remove the key Title: and left just a placeholder called 'Title'
@Codemycom
@Codemycom 4 жыл бұрын
huh?
@freeeagle8862
@freeeagle8862 4 жыл бұрын
@@Codemycom Title: Where we define the label name? Is it possible to remove this label name Title:?
@Codemycom
@Codemycom 4 жыл бұрын
@@freeeagle8862 yeah, just remove it if you want
@freeeagle8862
@freeeagle8862 4 жыл бұрын
@@Codemycom I want, but I don't know where it is in the code. I found this using right click and inspect. My question is, where is it in the code? It is autogenerated with {{ form.as_p }}
@Codemycom
@Codemycom 4 жыл бұрын
@@freeeagle8862 Ah, it just gets auto generated. You can overwrite it in forms.py and we sort of do that in the videos.
@utku_yucel
@utku_yucel 4 жыл бұрын
Thanks!
@Codemycom
@Codemycom 4 жыл бұрын
Sure thing!
@BinhKieu82
@BinhKieu82 4 жыл бұрын
Thanks for the great clip, could you also share github of each video please, that would help us keep away from syntax error
@Codemycom
@Codemycom 4 жыл бұрын
I will eventually, but django writes most of the code for you
Delete a Blog Post - Django Blog #7
11:57
Codemy.com
Рет қаралды 25 М.
Style Django Forms With Bootstrap - Django Blog #5
15:46
Codemy.com
Рет қаралды 128 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Learn Django in 20 Minutes!!
21:25
Tech With Tim
Рет қаралды 437 М.
How to do CRUD in Django
21:46
Tony Teaches Tech
Рет қаралды 22 М.
Create Blog Like Button - Django Blog #18
19:35
Codemy.com
Рет қаралды 54 М.
Python Django App & Templates tutorial
23:07
Dave Gray
Рет қаралды 23 М.
Django To Do List App With User Registration & Login
2:12:03
Dennis Ivy
Рет қаралды 343 М.
Follow and Unfollow Buttons - Django Wednesdays Twitter #6
12:28
DJANGO CRUD APPLICATION [LATEST DJANGO ]
1:34:08
ARK PRO CODER
Рет қаралды 30 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН