Django Permissions | Model Level | Views and Templates

  Рет қаралды 18,218

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!
@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
@dgbsliedji5355
@dgbsliedji5355 2 жыл бұрын
Great series ! You are a very great teacher.
@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.
@wisdomnagaye5104
@wisdomnagaye5104 Жыл бұрын
great piece. it was helpful watching. thankyou
@veryacademy
@veryacademy Жыл бұрын
Glad it was helpful!
@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!
@platanopoweroficial
@platanopoweroficial Жыл бұрын
Amazing content
@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.
@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
@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.
@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.
@bradfordli9116
@bradfordli9116 2 жыл бұрын
Great tutorials! Keep it up!!!!
@symphonysalameh5587
@symphonysalameh5587 2 жыл бұрын
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
@mohammadhoseyni7790
@mohammadhoseyni7790 2 жыл бұрын
Thank u zander😀😀
@valentineedesiriefagene7565
@valentineedesiriefagene7565 2 жыл бұрын
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 6 ай бұрын
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
@algerbb8717
@algerbb8717 2 жыл бұрын
:3
@veryacademy
@veryacademy 2 жыл бұрын
Thank you
Django Guardian | Object Level | View and Templates
29:28
Very Academy
Рет қаралды 10 М.
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 64 МЛН
Это было очень близко...
00:10
Аришнев
Рет қаралды 7 МЛН
Will A Basketball Boat Hold My Weight?
00:30
MrBeast
Рет қаралды 147 МЛН
amazing#devil #lilith #funny #shorts
00:15
Devil Lilith
Рет қаралды 18 МЛН
Python Django User Authorization tutorial
23:39
Dave Gray
Рет қаралды 8 М.
Learn Django - Class-Based Permission Checks
27:09
Very Academy
Рет қаралды 26 М.
Multiple User Types | Django
21:13
Daniel Roy Greenfeld
Рет қаралды 57 М.
Celery + Django - теория  #1 | Django School
32:38
Django School | Михаил Омельченко
Рет қаралды 50 М.
What are Django class based views & should you use them?
36:19
Dennis Ivy
Рет қаралды 83 М.
Learn Django - Build a Custom User Model with Extended Fields
39:42
How Strong is Tin Foil? 💪
00:25
Brianna
Рет қаралды 64 МЛН