Learn Django Class Based Views - DetailView - Theory and Examples

  Рет қаралды 19,831

Very Academy

Very Academy

Күн бұрын

Пікірлер: 41
@drmatiasE
@drmatiasE 4 ай бұрын
I really enjoy your work. This is the best way to learn, leave all that debugging because it's what happens when you work with Django. You have to go back and forth many times. Watching masters like you go through that makes us padawans feel ok when that happens thanks for your EXCELLENT teaching job.
@paborlouise319
@paborlouise319 4 жыл бұрын
Love the way you touch them specifically. Great job Sir.
@veryacademy
@veryacademy 4 жыл бұрын
Thank you very much!
@MatHEWStorm
@MatHEWStorm 2 жыл бұрын
You don't have to apologize for not getting things right the first time, I like how I get to see the debugging process
@davidrosen2705
@davidrosen2705 4 жыл бұрын
how the hell your channel isnt bigger ? your explanation on point and lots of content
@veryacademy
@veryacademy 4 жыл бұрын
Thanks David - I actually hate watching back my videos - I don't have much time at the moment so I don't script it - there is (at least in my humble opinion) much to improve on, I forget to add important info or just repeat myself a little too often. Having a smaller community also means I can answer all of the communities questions 👍
@AmitabhSuman
@AmitabhSuman Жыл бұрын
Appreciate your honesty, teaching flow, topics covered and details shared. Thank you for this amazing series. Teaches me so much!
@mohameda.abokhoshiem2624
@mohameda.abokhoshiem2624 4 жыл бұрын
Your explanation is awesome. Thanks for that.
@webdev1943
@webdev1943 4 жыл бұрын
Thanks and I hope to continue in this detailed and simple way.
@prosodyspeaks4036
@prosodyspeaks4036 Жыл бұрын
good job dude, thanks! don't sweat or edit out the errors - they (and seeing solutions) are super instructive! i'd say no need to apologise, but i'm also british, so instead i'm sorry for suggesting it
@aashayamballi
@aashayamballi 4 жыл бұрын
Just found your channel.. Really lot of great django contents are there! Definitely subscribing and hitting the notification bell for future content. Thank you so much for all your efforts!
@veryacademy
@veryacademy 4 жыл бұрын
Hi Aashay, welcome, and thank you. Needless to say lots more Django and other topics coming! I can't believe how little amount of Django there is out in the wild - most of the courses etc I have looked at miss so many important and useful content. Hopefully this will change in the future!
@yousefiazkco1440
@yousefiazkco1440 Жыл бұрын
Thank you boss ❤
@arekkubea2429
@arekkubea2429 2 жыл бұрын
I am new on your channel and I would like to thank you for your content! It helps me a lot to understand CBV. :)
@16bitmustache
@16bitmustache Жыл бұрын
Thank you for this video, it was extremely intriguing and helpful. 🙏 I am going to use the info from this video on my current Django project.
@FarhanAhmed1360
@FarhanAhmed1360 3 жыл бұрын
Thanks you...great tutorial..how to use forms in django details and list view?
@KevinTempelx
@KevinTempelx 4 жыл бұрын
Thank you!
@veryacademy
@veryacademy 4 жыл бұрын
You're welcome!
@budescode_academy
@budescode_academy 3 жыл бұрын
Thanks alot for this.
@MrCaipiroshka
@MrCaipiroshka 3 жыл бұрын
Thank you! It works for me. :D
@cocoarecords
@cocoarecords 3 жыл бұрын
This is excellent
@veryacademy
@veryacademy 3 жыл бұрын
👍
@babafunmiseadebowale7746
@babafunmiseadebowale7746 2 жыл бұрын
the Django 'prepopulated_fields' wasn't working for me. I also had to register the AuthorAdmin. Also why don't we use slugify in the model? The slug will only be created here if it was done through the admin right? Cause I had a page for creating books and the slug field wasn't populated unless I used the admin.
@claudiamendoza8018
@claudiamendoza8018 3 жыл бұрын
Thanks😎
@veryacademy
@veryacademy 3 жыл бұрын
No problem
@kishorekumar9340
@kishorekumar9340 3 жыл бұрын
Hi Sir, Very Academy is posting very good things about django. Really amazing work sir. I could see you have used post = Books.objects.filter(slug=self.kwargs.get('slug')) post.update(count = F('count') +1) my doubt is since it is a get method how did you update the field value sir (assuming updating is a post method). Please help me to understand this part sir. I have gone through F() expression also sir. But still I didnt get this part. If we are updating in the database level in get method wouldnt that throw error like http405 method not allowed ?. Any help is appreciated. Thanks
@benjaminagyekum7283
@benjaminagyekum7283 4 жыл бұрын
hello please i want to know how to present detail of two model instances
@bishaladhikari8691
@bishaladhikari8691 Жыл бұрын
at first i was like what the hell is this complexity , later on my reacton is wow... i m beginer's learning class based view
@veryacademy
@veryacademy Жыл бұрын
Good to hear, better than where we started!
@garethjones3860
@garethjones3860 3 жыл бұрын
Hi, if I have a CBV that is a detail view (ExternalAssessor) and I have two models connected using a foreign key, how can I access the Standardisation data using the ORM please? App = ExternalAssessors class ExternalAssessor(models.Model): class Standardisation(models.Model): external_assessor = models.ForeignKey('ExternalAssessors.ExternalAssessor', blank=True, null=True, related_name='standardisation', on_delete=models.CASCADE) class ExternalAssessorDetailView(LoginRequiredMixin, DetailView): login_url = '/login/' model = ExternalAssessor This gives me the name {{ externalassessor.external_assessor_name }} based on the (ExternalAssessor) but I would like to access the (Standardisation) fields from the same view? have tried {{ externalassessor.standardisation.l3_lab_tech }} but gives me a none value :-( Struggling with ORM Thank you for your help, it's much appreciated. Gareth
2 жыл бұрын
sir, in my humble opinion you should consider whether copy paste is helpful for the audience or not. Because while watching "Learn Django - Class-Based Views" playlist I mostly find myself "where did this code come from". You are explaning the details of the code but I think the sudden code show up is mixing things. nevertheless your contents are top-tier.
@benjaminagyekum7283
@benjaminagyekum7283 4 жыл бұрын
am using two model and i want to pass the two model using detailView, when i click on a single model on a page it should give me a detailview of that particular model. how do i do that and render it on my template as well . anyone to help me continue with my work am new to django
@jorakaryan2944
@jorakaryan2944 2 жыл бұрын
👍
@NurseDaveBSMSON
@NurseDaveBSMSON Жыл бұрын
If there was a Udemy course based around this I would purchase it.
@rembautimes8808
@rembautimes8808 3 жыл бұрын
Today in history I finally found out what a slug is. And its not a subclass of Gastropoda
@artusuroda487
@artusuroda487 4 жыл бұрын
Generally OK but too long. Generic Views are intermediate and advanced level. If you're keeping your lecture at the beginner-intermediate level the video should have 5-10 min max. But generally thumbs up. Keep going and thank you for your work.
@veryacademy
@veryacademy 4 жыл бұрын
Thank you Artus, a very welcomed comment.
@muhammahanisuzzaman5493
@muhammahanisuzzaman5493 3 жыл бұрын
I think you take a Ph.D. in Django Framework. 🔥⚡🚀😂
@veryacademy
@veryacademy 3 жыл бұрын
This is only the beginning for Django! I really hope to create a much bigger organised resource over time!
@guitardave77
@guitardave77 3 жыл бұрын
I like you
@veryacademy
@veryacademy 3 жыл бұрын
👍
Learn Django Class Based Views - ListView - Theory and Examples
21:59
Learn Django Class Based Views - FormView - Theory and Examples
15:55
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Learn Django Class Based Views - RedirectView - Theory and Examples
21:57
Django Testing - Model Testing Introduction
36:33
Very Academy
Рет қаралды 20 М.
Django async HTTP requests with asyncio and aiohttp
20:32
Very Academy
Рет қаралды 23 М.
Learn Django Class Based Views - UpdateView - Theory and Examples
15:28
What are Django class based views & should you use them?
36:19
Dennis Ivy
Рет қаралды 85 М.
This AI Robot Is Doing the Impossible - Unitree x ElizaWakesUp
9:30
Django Middleware
56:19
Very Academy
Рет қаралды 25 М.
Best Ways to Use Gemini 2.0 (over ChatGPT & Perplexity)!
16:06
Grace Leung
Рет қаралды 23 М.
Learn Django Class Based Views - CreateView - Theory and Examples
12:25