▶️ 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
@vukspasojevic23963 жыл бұрын
The reverse can be used only in function-based views and reverse_lazy on class-based views since in python, class is evaluated on import of the class so it would raise an error.
@Codemycom3 жыл бұрын
Not so much
@akshitgulyan3935 Жыл бұрын
It's a very nicely explained lecture John sir
@Codemycom Жыл бұрын
thanks
@misovnick2 жыл бұрын
Hi John. First of all many thanks for your videos!! I love to watch them. Could you please explain in more detail the reverse_lazy() function you used in this video? Just a short description in comments section will be more than enough. Thank you
@dayeonlee11163 жыл бұрын
Thank you for the good tutorial video! Like your energy too!
@Codemycom3 жыл бұрын
Thanks for watching!
@ruhiziki63613 жыл бұрын
Best tutorial on django
@Codemycom3 жыл бұрын
Thanks!
@FOODINATORS.21 Жыл бұрын
thanks your videos are super easy to undertand but am facing problem on post delete it deletes the post but give error 404 and doest redirect
@Codemycom Жыл бұрын
what did you do differently from the video?
@akdrummer17973 жыл бұрын
Great video. Just one thing. How do we make it so that only the author of that particular blog can delete it. Right now I can delete blogs of other users also, I dont want that.
@Codemycom3 жыл бұрын
I think we talk about authentication later in this playlist
@siumhossain-4 жыл бұрын
you can reverse the post using {%for post in object_list reversed %} in home.html
@letslearnui3 жыл бұрын
how we can delete a record simply by loading a modal on the same page without creating a new template / page. Any tutorial?
@abhishekshukla72344 жыл бұрын
sir thank you for your video, please clarify if I had given a premium in my blog so how I show premium profile on the top from the normal profile
@Codemycom4 жыл бұрын
Sorry, I don't know what you mean by premium.
@abhishekshukla72344 жыл бұрын
@@Codemycom Thank You for your attention, premium means to add some of our users to the premium and show there profile on top or can be simply understood freelancer after paying amout our profile show on the top for bitting ..
@harshdeepsingh93243 жыл бұрын
Please tell how to put a success message if the post is deleted successfully
@Codemycom3 жыл бұрын
Yes I have videos on that already
@harshdeepsingh93243 жыл бұрын
@@Codemycom Can you please tell in which playlist I can get it...
@Codemycom3 жыл бұрын
@@harshdeepsingh9324 there's only a few django playlists...you'll have to dig around
@harshdeepsingh93243 жыл бұрын
@@Codemycom Okay Thankyou
@SendiSiradj3 жыл бұрын
is there a tutorial for deploying django web app to the Internet?
@Codemycom3 жыл бұрын
Yep, I have many
@shawnbeans73894 жыл бұрын
Good Job Codemy
@Codemycom4 жыл бұрын
Thanks
@avronilchakraborty24533 жыл бұрын
the page is giving HTTP ERROR 405 Method Not Allowed (POST) on clicking delete. How can I fix that?
@CS21B058SUNKUGARITEJESWARAREDD Жыл бұрын
while inheriting you may have inherited DetailView class instead DeleteView for the class DeletePostView.
@miraccan004 жыл бұрын
can we add slug field :) ?
@Codemycom4 жыл бұрын
You can do anything you want :-p
@윤유상-n8b4 жыл бұрын
I finish making CRUD in my blog thanks
@Codemycom4 жыл бұрын
Great 👍
@milosjovanovic42184 жыл бұрын
I am getting error: Using ModelFormMixin (base class of DeletePostView) without the 'fields' attribute is prohibited. Only if I add fields in my class it will work.... anyone knows why?
@milosjovanovic42184 жыл бұрын
ok, found it, when I copied previous class forgot to change what should delete class inherit (left CreateView)
@rangabharath42534 жыл бұрын
Awesome
@Codemycom4 жыл бұрын
Thanks!
@dilipspk4 жыл бұрын
Hi sir, love to see u and your lecture. I want to do clarify with you by next lecture on following ● I have created registration form for django default and phone number verification as well. I used basic html form but I want to use the django's robust form but something went wrong while saving data I weed one to one relationship for profile with user While saving it is giving an error something anonymous error.... Thank u sir
@Codemycom4 жыл бұрын
Thanks for your kind words. You can search "one to one relationship" in the django docs and read about it.
@RamanKumar-uo1kf4 жыл бұрын
Sir i request you to make online multiple choice django project
@Codemycom4 жыл бұрын
Might do that in the future
@ssmindwasher33783 жыл бұрын
Yes I will pay you I.need to delete wordpress blog post can't log in have own
@Codemycom3 жыл бұрын
Not sure what you mean, I don’t do consulting
@ssmindwasher33783 жыл бұрын
@@Codemycom 1site.wordpress.com say 1 post kia gya h I delete karni h
@bijenadhikari4 жыл бұрын
you are awesome.
@Codemycom4 жыл бұрын
Thanks!
@oktapiancandra18064 жыл бұрын
First:v uwu
@Codemycom4 жыл бұрын
woot!
@azarsirdash4 жыл бұрын
Very Very G💋💋💋💋💋d
@Codemycom4 жыл бұрын
Thanks!
@miraccan004 жыл бұрын
Delete Post really cool :D maybe you can try :D ahahaha