No video

Django Permissions | Model Level | Views and Templates

  Рет қаралды 17,572

Very Academy

Very Academy

Күн бұрын

Пікірлер: 26
@Failrule
@Failrule Жыл бұрын
Absolutely most complete detailed and well explained course ever
@nouchance
@nouchance 2 жыл бұрын
I started learning web development myself, my stack is .NET Core + React but I really like your video tutorials. Please more video tutorials about JS. Thank you sir!
@veryacademy
@veryacademy 2 жыл бұрын
More to come!
@dgbsliedji5355
@dgbsliedji5355 Жыл бұрын
Great series ! You are a very great teacher.
@kittylearns1867
@kittylearns1867 Жыл бұрын
thanks for the vid but im confused, is there a difference between can add project and can add new project?? of is it simply to show us an option
@alkolaqi83
@alkolaqi83 2 жыл бұрын
lot of great content, really love it... one minor comment though Can you use actual data for example for users (John, Ali, David) product (laptop, shoes, ...etc) I think this will help us lot more :) thanks lot for the great content
@veryacademy
@veryacademy 2 жыл бұрын
Thank you, you are totally right of course. I will try to in the future.
@anunnaki_7
@anunnaki_7 2 жыл бұрын
mate why didn't we use custom decorator to make the permissions, we can implement any idea with the decorator . for example we can list the the projects for the users who have age between 10-20 same for checking the permissions same for checking the groups
@veryacademy
@veryacademy 2 жыл бұрын
I would assume that I was just trying to keep it simple or just building on from the previous knowledge. Sometimes I overthink it and try to keep it what I think would be easier to understand initially, but as you and many point out, there are many times where more realistic approached would be preferable.
@wisdomnagaye5104
@wisdomnagaye5104 Жыл бұрын
great piece. it was helpful watching. thankyou
@veryacademy
@veryacademy Жыл бұрын
Glad it was helpful!
@sulfur32066
@sulfur32066 Жыл бұрын
it's interesting how "perms" object is available into template, it was passed by django automatically or you passed it? cannot find it in code
@symphonysalameh5587
@symphonysalameh5587 Жыл бұрын
please do a video where u code about -Time on site -Pages per visit. -Bounce rate -Returning visitors for admin analytics reports i am new to django and this things are advance
@guratete
@guratete 2 жыл бұрын
Hey Man, I know you are very busy and all but can you do a tutorial on how to create the fixtures like the ones we used for the ECommerce 2. Maybe from excel to how it became a Json.
@veryacademy
@veryacademy 2 жыл бұрын
Ok, no problem.
@platanopoweroficial
@platanopoweroficial 10 ай бұрын
Amazing content
@bradfordli9116
@bradfordli9116 2 жыл бұрын
Great tutorials! Keep it up!!!!
@omki2504
@omki2504 2 жыл бұрын
Hey man great video! Quick question, I'm trying to create a moderator in Django. In your opinion, which method of permissions gives you more freedom to alter how those permissions work? I was thinking of using permissions decorators but the PermissionsRequiredMixin seems like a more concise way I could implement this feature. Any thoughts are greatly appreciated!
@mohammadhoseyni7790
@mohammadhoseyni7790 2 жыл бұрын
Thank u zander😀😀
@valentineedesiriefagene7565
@valentineedesiriefagene7565 Жыл бұрын
Thank you
@nahasco
@nahasco Жыл бұрын
I dont understand when you added new permissions and named it "can add new project", how did django know that this permission is referring to creating new projects?
@olamigokephilip9402
@olamigokephilip9402 4 ай бұрын
It doesn't have to be explicitly stated again. Think of can_add_new_project like a constant created with a check function in the View. In Django, permissions do not require any more than that configuration. The permission name acts as a tag /identifier within your application. This tag doesn't define any specific action. It's the view logic that enforces that
@eugenetuyizere8857
@eugenetuyizere8857 2 жыл бұрын
Thank you very much for this tutorial. I want to ask how to assign these permissions in dynamic way. Here I mean having all permissions list and assign an/or revoke to a specific user at any time for example when the system is live. Thanks
@veryacademy
@veryacademy 2 жыл бұрын
Hi Eugene. Set permissions on certain actions. I did share an approach in the last tutorial using Django signals. But I realise you’re probably thinking a little bigger here. Once you determine what actions should create or remove permissions we simple use the functions provided to perform the actions. I can explore and be a little more expansive in an additional tutorial for this series.
@algerbb8717
@algerbb8717 2 жыл бұрын
:3
@veryacademy
@veryacademy 2 жыл бұрын
Thank you
Django Guardian | Object Level | View and Templates
29:28
Very Academy
Рет қаралды 10 М.
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 9 МЛН
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 14 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
Gli occhiali da sole non mi hanno coperto! 😎
00:13
Senza Limiti
Рет қаралды 20 МЛН
Learn Django - Class-Based Permission Checks
27:09
Very Academy
Рет қаралды 25 М.
Django | Cron Job | Database User Management
41:30
Very Academy
Рет қаралды 14 М.
Multiple User Types | Django
21:13
Daniel Roy Greenfeld
Рет қаралды 56 М.
Django Custom User Model | Extend User Fields | Django ORM Mastery
50:29
But how do DJANGO signals work?
35:47
CodingEntrepreneurs
Рет қаралды 42 М.
Learn Django - Build a Custom User Model with Extended Fields
39:42
Docker | How to Dockerize a Django application (Beginners Guide)
20:08
Unveiling my winning secret to defeating Maxim!😎| Free Fire Official
00:14
Garena Free Fire Global
Рет қаралды 9 МЛН