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!
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
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!
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.
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
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.
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
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.
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
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?
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
Absolutely most complete detailed and well explained course ever
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!
More to come!
Great series ! You are a very great teacher.
great piece. it was helpful watching. thankyou
Glad it was helpful!
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
Thank you, you are totally right of course. I will try to in the future.
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
Great tutorials! Keep it up!!!!
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!
Amazing content
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.
Ok, no problem.
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
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.
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
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.
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
Thank u zander😀😀
Thank you
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
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?
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
:3
Thank you