Because in " " abc is your argument that you are passing as parameter in your view function -> def article_detail_view(request, parametter), and abc is getting the value that you are passing in your link inside your template (in this case is: home-view.html), so you can name it whatever you want, just make sure that the argument name is the same that you parameter in your view function.
Hi, so when I use 'id' after *args **kwargs in the function declaration of home_view, I get an error like this " TypeError at / home_view() missing 1 required positional argument: 'id' ". And my editor color codes 'id' different than 'request'. What should I do??
I love that you also show how the previous versions of Django would have handled this.
piece by piece the Django jigsaw is taking some shape. Thank you.
Thanks!! absolutely perfect tutorials :D
I love how he finds errors "funny" 😂😂
I've been looking for this information for so long... I just subscribed, liked the video, and activate the notification bell xD
Wow !, this Tutorial list is looking very interesting, I'm diving in !......THX !!!..
Very well explained. Best tutorial. Thanks a lot
is this tutorial good enough in today's scenerio as we already have django 5?
super
Thanks a lot! Literally...
Thanks
Really good tutorial, even though I have Django 5.0 installed
Thanks!
🎉🎉🎉 hi bro
Wait. Starting @06:14, you write ... and it works! Why? How? I thought
Because in " " abc is your argument that you are passing as parameter in your view function -> def article_detail_view(request, parametter), and abc is getting the value that you are passing in your link inside your template (in this case is: home-view.html), so you can name it whatever you want, just make sure that the argument name is the same that you parameter in your view function.
Hi, so when I use 'id' after *args **kwargs in the function declaration of home_view, I get an error like this " TypeError at / home_view() missing 1 required positional argument: 'id' ". And my editor color codes 'id' different than 'request'. What should I do??
In Python, you need to have positional parameters before any named parameters.
same problem faced.
hej! what do you know
imp !
Lol wtf😂
@@jorik170 i meant important 😂 as a bookmark to myself 😭🥲 i wasn't calling him an imp 🥲
@@mehershrishtinigam5449 XDD
Hello..?
very confusing
please stop saying word cool so many times