Django Groups and Permissions | Database Schema Explanation | Function and Class-Based Views

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ต.ค. 2024

ความคิดเห็น • 67

  • @PriyanshuGuptaOfficial
    @PriyanshuGuptaOfficial  3 ปีที่แล้ว +4

    🛑 Links For Other Exclusive Content👇💯-
    🔥Mastering Django Roadmap: www.letsprogressify.com/roadmaps/93f13210-efd8-4663-ad7e-ed0b70fad7f7/preview
    🚀 The Revolutionary Course - th-cam.com/play/PLLz6Bi1mIXhEE3NEaLz3xNn7JHBHNb34I.html
    👉 How to create multiple user types - th-cam.com/video/ZU5yBZja8yE/w-d-xo.html
    👉 User Registration, Login, and Signup (like Amazon) - th-cam.com/video/zecETlA00OA/w-d-xo.html
    👉 Django Microservices and how to handle multiple user types on different architectures - th-cam.com/video/X6fXTsioRl0/w-d-xo.html
    👉 Adding filtering, pagination & sorting & adding a search bar (with a Rest API) - th-cam.com/video/uwWmvGDHS-8/w-d-xo.html

    • @Krisler12
      @Krisler12 ปีที่แล้ว +1

      Thank you very much for such great Django lessons!
      Please create a new Django playlist or tutorial teaching us the following:
      How to implement a user groups management like in the army grades (soldier, captain, lieutenant, governor and so on) each of them with different rights in general and over the other users (like banning permanent, temporary, blocking others rights, editing or viewing their own posts or the others and so on).
      Second, it must be a like system for posts and for comments to that posts. The like system is somehow like the one from Facebook but not the same. It should be one just for voting up, one for voting down, one for spam, one for hate, and one for coins.
      Some categories of users are able to make posts that can be viewed only if the other categories of users give a number of coins while voting that article else they can't read it.
      Only some categories of users can vote down (e.g. those that have enough number of coins).
      Any user can convert a given number of votes up (e.g. 100) into coins.
      Users are automatically upgraded or downgraded from one category to another according on the totally number of coins they have.
      Down votes are discounted from the up votes and if there are not any more up votes then coins are converted back into up votes and after that they are discounted because of down votes and that user category downgraded accordingly. If there aren't any coins anymore then that users records negative points and those are discounted while they receive up votes.
      Any user can be also banned for a period of time (shorter or longer) if they reach any given number of negative points.
      If any user post reach any given number of spam votes for their post or comment then that post or comment is moved to a hidden spam folder for being deleted by a higher category of users like moderators or admin or to be marked as not spam. Also after any given number of posts or comments marked as spam that user can be banned temporary or permanently.
      The same for hate except that the post should not be deleted because it is not spam.
      Any given category of users are able to give any amount of votes.
      e.g. soldier or beginner just one, higher categories are able to give higher number of votes of any kind and so on.
      Please do this in Django. Please.
      Thank you so much in advance!

  • @TomAinsworth94
    @TomAinsworth94 2 ปีที่แล้ว +8

    This is an amazing video thank you so much for all of the detail. I’ve been searching all over the django docs and stackoverflow for days, and this is the only video I’ve found that really makes sense of how to implement groups properly. Thanks a lot!

  • @georgesmith3022
    @georgesmith3022 2 ปีที่แล้ว +6

    The most detailed video on permissions in django. Congratulations. I wish all the videos were in English

  • @PRATIK-v2l
    @PRATIK-v2l 4 หลายเดือนก่อน +1

    Thankyou so much for making this video. I am a new django intern in a company. This video helped me a lot to understand the project.

  • @kaviarasan4986
    @kaviarasan4986 3 ปีที่แล้ว +3

    Great work, Great explanation,Must watch video to learn about groups&permissions in & out

  • @ashrayshiva9484
    @ashrayshiva9484 2 ปีที่แล้ว

    Best video in depth so far regarding Django Groups and Permissions

  • @rajeshsenapati6358
    @rajeshsenapati6358 3 ปีที่แล้ว +5

    Hi you doing well. As per this video You told like CMS, where a teacher group can add student and admin group can add teacher and student both and student only can see his profile then how I'll give permission to them?

  • @manasdewari
    @manasdewari ปีที่แล้ว +1

    Thank You for explaining beautifully and depth information.

  • @aliaskarisakov1147
    @aliaskarisakov1147 2 หลายเดือนก่อน +1

    You are an angel, thank you very much

  • @gselan72
    @gselan72 3 ปีที่แล้ว +4

    Actually its a very good video, wished the rest of your other videos was in english as well. Thank you

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  3 ปีที่แล้ว

      Thank you. Will make rest videos in english as well. If you have custom user model and using AbstractBaseUser then inherit PermissionsMixin class as well.(check my user model in code)

  • @jitendrajangir8502
    @jitendrajangir8502 3 ปีที่แล้ว +2

    Good work bro ....really helpful sessions u r providing free of cost ....

  • @michaelofosu5233
    @michaelofosu5233 ปีที่แล้ว +1

    The best so far

  • @7999rahul
    @7999rahul ปีที่แล้ว +1

    Excellent explanation. Very much appreciate your hard work.

  • @haletawha
    @haletawha ปีที่แล้ว +1

    Great tutorial I have ever watched. Keep it up.

  • @tanveermahmood9422
    @tanveermahmood9422 ปีที่แล้ว +1

    good job. thanks from Pakistan

  • @sumansunuwar1540
    @sumansunuwar1540 3 ปีที่แล้ว +3

    hi priyanshu , you have really made these things so easy i appreciate your work very much...
    i have a question , why does media file gets stored in the file folder not in data base , how do we store media files in the production level ????

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  3 ปีที่แล้ว

      Media files itself cant be stored in database, only the link where they are stored will get stored in db, for handling media files in production you will have to use s3 bucket or have to store them directly in server.
      Checkout these videos for help - th-cam.com/video/jFFAGdBtrRc/w-d-xo.html

  • @OnlySolutionTalks
    @OnlySolutionTalks 3 ปีที่แล้ว +2

    Great job dude... very helpful

  • @nagercoilgamer9484
    @nagercoilgamer9484 2 ปีที่แล้ว +2

    Thanks for this wonderful knowledge transfer and great explanation😊

  • @zorojuro5106
    @zorojuro5106 3 ปีที่แล้ว +2

    best tutorial for permissions and groups

  • @prabhatmishra8946
    @prabhatmishra8946 3 ปีที่แล้ว +2

    Bhot shi explain kr rhe ho

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  3 ปีที่แล้ว +1

      Thanks bhai ....... do share with your friends who are working on django development or want to learn django webdevelopment ........ this series will definitely help them because all these topic that I am covering are not covered or explained in such depth in any course available even paid ones ........All what I have learned is by digging deep into django’s structure and by manually performing all testcases

  • @sadiayeasmin3346
    @sadiayeasmin3346 2 ปีที่แล้ว +1

    great work..... kindly make more of these videos......

  • @bhanudixit6454
    @bhanudixit6454 ปีที่แล้ว +1

    Hey Priyanshu Gupta, You did mention that the code repo will be provided for this specific video, but i am not able to find the code link, can you please help me with it.
    I wanted to view the model structure here for user_groups and user_permissions , the intermediary tables for users, permissions and groups.
    Thanks in advance.

  • @noblessetech
    @noblessetech 2 ปีที่แล้ว +1

    Amazing , thank you for amazing video.

  • @joshuaedward6893
    @joshuaedward6893 2 ปีที่แล้ว +1

    Love the video, keep up the good work

  • @mett1692
    @mett1692 ปีที่แล้ว +1

    amazing tutorial! thnak you !

  • @prabhatmishra8946
    @prabhatmishra8946 3 ปีที่แล้ว +2

    Great job bhai

  • @ellaidhurai602
    @ellaidhurai602 ปีที่แล้ว +1

    need more videos in django

  • @zahidulislam7977
    @zahidulislam7977 2 ปีที่แล้ว +1

    Hi,
    This is from Bangladesh. This is really great!!!!!
    Can you suggest me for the below question?
    "How can I assign permissions to a specific group from a custom template?"

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  2 ปีที่แล้ว

      Just pass the group id from frontend and assign permission to it in backend

    • @zahidulislam7977
      @zahidulislam7977 2 ปีที่แล้ว

      But I want to use frontend here also...

  • @nquanta1548
    @nquanta1548 3 ปีที่แล้ว +2

    Nice tutorial bro :)

  • @ismailhasansarker3733
    @ismailhasansarker3733 2 ปีที่แล้ว

    Amazing explanations 👌👌 Thanks a lot.

  • @AliHassan-wc6nb
    @AliHassan-wc6nb ปีที่แล้ว

    Hi Priyanshu, one aspect is missing. "Edit your own record". Not every record on a permitted model!

  • @DineshKumar-jt5tr
    @DineshKumar-jt5tr 2 ปีที่แล้ว

    tq for doing this in english sir

  • @Prince-wv8nm
    @Prince-wv8nm 2 ปีที่แล้ว +2

    Got it 👌

  • @rokibulhaque1673
    @rokibulhaque1673 ปีที่แล้ว

    Do you have any tutorial on putting django on production using IIS.

  • @pankajrathore9599
    @pankajrathore9599 3 ปีที่แล้ว +2

    Perfect, 👍🏻👍🏻. I want to see the whole project code, can you please share this project git URL.

    • @PriyanshuGuptaOfficial
      @PriyanshuGuptaOfficial  3 ปีที่แล้ว +2

      Thanks and link for GitHub repo: github.com/priyanshu2015/MasteringDjango

  • @zorojuro5106
    @zorojuro5106 3 ปีที่แล้ว +2

    thanks again for this amazing tutorial. bro can u put the link of the repo please...

  • @mcaddit6802
    @mcaddit6802 2 ปีที่แล้ว

    Please make full coding video

  • @sagartiwari3841
    @sagartiwari3841 2 ปีที่แล้ว

    how can i give permission to admin when i created a custom admin panel

  • @rahul10kumawat25
    @rahul10kumawat25 3 ปีที่แล้ว

    Bhai ek video Django channels pr BNA

  • @saminrahman5165
    @saminrahman5165 ปีที่แล้ว

    i humblely request to add a sub-title in english or make the video in english

  • @thierrykeller667
    @thierrykeller667 2 ปีที่แล้ว

    could you let the github link for the explain project code

  • @mdmamun-vp9xj
    @mdmamun-vp9xj 3 ปีที่แล้ว

    Without admin site how to set permission

  • @EWCS_Deepak
    @EWCS_Deepak 4 หลายเดือนก่อน +1

    can you provide the github source code link

  • @_ShrutiNahar
    @_ShrutiNahar 2 ปีที่แล้ว

    can you please share this code

  • @wilmerferneycubidesporras7774
    @wilmerferneycubidesporras7774 3 ปีที่แล้ว

    could you add subtitles pls?

  • @emmanueletentuk8265
    @emmanueletentuk8265 2 ปีที่แล้ว

    Can we get the github link?

    • @carfan441
      @carfan441 2 ปีที่แล้ว

      22nd video..

  • @aamir6586
    @aamir6586 2 ปีที่แล้ว

    source code bhi put kardeta

  • @asimraza5728
    @asimraza5728 3 ปีที่แล้ว

    bro github link