User Role Based Permissions & Authentication | Django (3.0) Crash Course Tutorials (pt 15)

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

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

  • @DennisIvy
    @DennisIvy  หลายเดือนก่อน

    Don't forget to check out my Complete Django Course! dub.sh/NvGboTI

  • @sontustripura3133
    @sontustripura3133 4 ปีที่แล้ว +77

    Someone : Do you have any Good Django book?
    Me: yes, I have the best one book.this is dennis Ivy.
    Just love you man!

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว +10

      Haha thanks man! your awesome :)

  • @ryan_0337
    @ryan_0337 4 ปีที่แล้ว +43

    I discovered you since you start your channel and follow you is the best investment I made.
    You bring a lot of value with your expertise and put a lot of efforts to make clear explanation.
    I hope you will continue to put content in the future.
    Thank's for you work in this tutorial Dennis

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

      Thank you Ryan! :)

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

    I have completed a beginner Django course, where I've learned the basic CRUD functionalities along with REST API CRUD with Angular 2. But as I'm doing this course, I've realized I missed many little things that matter.
    A big thanks to you, brother 💙 Love from Bangladesh.

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

    u have my deep respect bro.....i have seen about all the django lectures of youtube....none can be comparable with you...great work

  • @arthdave7313
    @arthdave7313 4 ปีที่แล้ว +5

    Hey, man I am doing my MS in Computer Science, and I would definitely say that things I have learnt from this channel is way more valuable than what I have learnt at school.
    Thanks for sharing the knowledge.
    Just one suggestion. It would be great if you can keep some exercise after the completion of the topics you cover in the video.

  • @ShivamSingh-bx5lg
    @ShivamSingh-bx5lg 4 ปีที่แล้ว +13

    Dude, you are simply great. Please do an In-depth DRF tutorial and combine it with React, as there are not many tutorials on DRF available.

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

    Hello Denny, I was searching for user login & login permission-based views in Django for a week until I landed on your tutorial. Tried a lot of tutorials, but not a single one covered things as profoundly as you did. Thanks a lot. Much love !

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

    Your explanation, sir... are at on other level!
    I would recommend this series to anyone who would like to learn about Django!
    Thank you for reviving my love for this framework!

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

    I ususally don't coment on any video but watching this playlist I would say that you are GEM man. Much appriciate to your efforts.

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

    Previous tutorials were somehow easy but this one is a real pain. Have to watch and analyze couple of times.
    BTW, i want to say tons of thanks for u for this amazing content!

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

    One of the best tutorials I have ever seen. The clean and simple way of demonstration.

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

    Thank you for giving this . I searched but like this video there is no other video.good explained.

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

    Great Video!
    One thing, for others that are watching, though. If you want to have multiple groups and your group, you are searching for,
    happens to be on any other than the first place of the array you wont get the results you want.
    Modifying the code as follows works for me:
    def allowed_roles(allowed_roles=[]):
    def decorator(view_func):
    def wrapper_func(request, *args, **kwargs):
    group = None
    if request.user.groups.exists():
    for group in request.user.groups.all():
    if group.name in allowed_roles:
    return view_func(request, *args, **kwargs)
    return HttpResponse('You are not authorized to view this page')
    return wrapper_func
    return decorator

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

    you are jut amazing .. I tried to learn django last year . but no luck .. but this month I found you .. and everything just making sense and not hard at all.

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

    This app will work REALLY well if it's integrated into your e-commerce app as an admin/staff/management view

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

    your course is helping me with my project a lot. thank you!

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

    The Best Django Tutorial Ever!

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

    Dennis we REALLY appreciate all your hard work with these videos - we have gained SO much - thank you

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

    I'm gratefull for these series.

  • @NepaliWhitehat
    @NepaliWhitehat 4 ปีที่แล้ว

    You call it as a Django Crash course But its A really Corporate Level course . You are the best TH-camr ever in TH-cam in context of Django tutorials.Thank you a lot For such powerful Content. Please upload more video on django advanced topics like djnago signals, Resst Framework and more

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว

      Thank you thank you thank you!!! :)

    • @NepaliWhitehat
      @NepaliWhitehat 4 ปีที่แล้ว

      @@DennisIvy Sir please upload Video On Django Rest Framework After completing this series

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

    Thank you very much Dennis.
    It's really very salutatory for us and for those who want to learn django with the best outcome.
    much love for you man!

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

    All your projects are so great. Big thank from Mongolia

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

    Thank you very much for all your great lession through this course .It cleared some of the doubts previously i had.This course will be helpful after many decades also . M from India #Support you

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

    4:10 authentication check with python generator
    10:02 authorization check with python nested generator
    17:05 admin only authorization check

  • @Shawn-tw3pg
    @Shawn-tw3pg 3 ปีที่แล้ว +1

    This lesson is very clear and detail, and it helps me a lots! Thank you very much : )

  • @yahialinus1851
    @yahialinus1851 6 หลายเดือนก่อน

    your content is pure diamond

  • @sundarali845
    @sundarali845 4 ปีที่แล้ว

    This one was a little bit complicated but i think i couldnt have found better explanation else where...Love u course..been following this series from part 1

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

    Your tutorial is awesome, it is really helping big time.. You almost taught entire Django for free !!!

  • @travistheall5260
    @travistheall5260 4 ปีที่แล้ว

    I have been looking for a video like this for so long. Happy I found your channel man

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

      Glad this helped! Thank you so much for your feedback :)

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

    i have followed your videos, they are nice,,, thanks for teaching the entire world, you deserve some tea from me. May you keep blessed ... ever

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

    Dude, I don't speak English but I love to learn these things... you are fantastic! Thank you so. I just couldn't get vscode to recognize decorators as a module, so I inserted my decorations into views, py anyway.
    Cheers!

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

    Love this tutorial. I would love to see you turn this into a backend api with django rest framework and handle the front with Vue or React! I've completed most of your videos working along, super helpful. Well done.

  • @valentinfontanger4962
    @valentinfontanger4962 4 ปีที่แล้ว

    I needed to find a way to shorten my code in my view and this is the perfect video ! Thank you !

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

    One of the best Django tutorials!!

  • @srich-k
    @srich-k 4 ปีที่แล้ว +1

    That was simple and brilliantly explained
    Thanks!

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

    Massive Respect Broo....Really appreciate for the nice content you upload for....Am doing a python / Django project and most of your content has helped me solve a few problems here and there and also taught me things i dint know how to solve..

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

      yo man, looking to work on a django project myself - care to connect to discuss?

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

    one of the magic videos, you are really amazing

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

    Hey dude, it was a amazing class! Thank y very much to share it! You have a giant knowledge with python/django.

  • @peronneaumoliere287
    @peronneaumoliere287 4 ปีที่แล้ว

    I love you! you are an amazing teacher! You make me love Django!

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

    Thank You you saved my job today

  • @nickrene
    @nickrene 9 หลายเดือนก่อน

    Thank you so much, this is a very helpful and great presentation by your side!

  • @sandrakuczynska3487
    @sandrakuczynska3487 4 ปีที่แล้ว +7

    Dennis, thank you for this tutorial. It's great. But I have a problem with the decorator @allowed_users. I'm getting this error: Exception Type: ValueError
    Exception Value:
    The view accounts.decorators.wrapper_function didn't return an HttpResponse object. It returned None instead.
    Can you help me?

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

      I think that something is wrong in db (while creating a user), because when you logged into admin panel and hit "Home › Authentication and Authorization › Users › Dennis" - then you have "Groups" field and there is a "customer" and in the field "Chosen groups" you have "admin", unlike you, when I hit my admin's name, I don't have Groups it in this place , I have an empty field. That's why the decorator doesn't work. How can I fix that?

    • @mattclagett778
      @mattclagett778 4 ปีที่แล้ว +5

      I fixed this issue - I was logged into a user that did not have admin privileges. Went into DB and gave admin and now it works

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

      simple..when creating your Group at your admin page. make sure the group names eg admin, customer is exactly the same with the string 'admin' and 'customer'. at your decorators.py file.this causes the error..like in my case i missplelled mine as Admin and Customers..

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

      Add the following under the admin_only function in decorators.py:
      if group == 'customer':
      return HttpResponse('You are not authorised to view this page.')

    • @agungm6206
      @agungm6206 4 ปีที่แล้ว

      @@mattclagett778 thanks a lot man, you just save a day

  • @ahmedbenyahia6853
    @ahmedbenyahia6853 4 ปีที่แล้ว

    Really thank you so much for sharing this tutorial, really great and opens so many horizon !!!
    Great work men

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

    For those following this tute and getting misc errors - be sure you are consistent in the usage of capitalization in the code files with the group names you created in the Django admin site. This will solve most errors.

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

    How can i create the same implementation with CBV?

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

    The way to do back space is holding shift and press tab

  • @pawanchhangani7528
    @pawanchhangani7528 4 ปีที่แล้ว

    allowed roles basically why we use to it. Only we have to check whether a user is superuser or not for that we can use if request.user.is_superuser:
    he will be able to see the view otherwise not

  • @user-xp7of3nk6b
    @user-xp7of3nk6b 9 หลายเดือนก่อน

    Thank you. It was really helpful.

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

    Thanks for this super useful course! One remark: you shouldn't use mutable objects as default values to function parameters :) Привет из Украины!

  • @bemgbautor3463
    @bemgbautor3463 2 หลายเดือนก่อน

    thank you Dennis IVY

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

    Does anyone know how to handle "The view accounts.decorators.wrapper_function didn't return an HttpResponse object. It returned None instead' Value Error? it happens due to admin_only function but I have no idea how to handle it.

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

    love your work :)
    Also note if you try to log in with the superuser account after adding the @admin_only decorator you will receive an error since its not in the groups specified

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

    I have completed your crash course, and it helps me a lot, thank you so much. If You have a react crash course please put the links here.

  • @vikasjoshi475
    @vikasjoshi475 4 ปีที่แล้ว

    This is really helpful for me .Thanks man!

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

    Perfect, thank you!

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

    thanks a lot!!! so nice reverb

  • @felixaponati4318
    @felixaponati4318 5 หลายเดือนก่อน

    Hello Dennis
    That's a great job
    Can you make a video on how to integrate formstack in Django

  • @samyan7629
    @samyan7629 4 ปีที่แล้ว

    Thank you ,Dennis. i am your fans

  • @mdahanaf
    @mdahanaf 4 ปีที่แล้ว

    Many many Love For Your . I just love your tutorials . Salute you sir and thanks for bearing with us.

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

      It'y my privilege :)

  • @minsukim6837
    @minsukim6837 4 ปีที่แล้ว

    Thanks for the clear exlplanation !
    This is what i want

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว

      Your very welcome :)

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

    Hi Dennis.
    Your are one of the best instructors I have found on TH-cam. Your 7 hours django crash course and this customer management course have helped me a lot in my django learning pathway.
    Base on the information I have attained from those courses, I have started a Church Management System but I want to allow members where necessary, to have multiple user roles incase they are serving in more than one departments. My problem is which page will they see after login to the system?
    Please help me Dennis, I really need help on this.

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

    Thanks Dennis Ivy I learned a lot from you

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

      My pleasure :)

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

      @@DennisIvy Sir I know This is too much but I just want to ask if how can I create an order using the user page I'm having a hard time to come up with some solution so I take a chance to ask you about it, it bothers me for almost a month. I hope you can help me sir and advance Thank you and God Bless you, Sir.

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

    Great! I like these videos

  • @master-x7283
    @master-x7283 2 ปีที่แล้ว

    Great tutorial man!

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

    Thank you.. Denny

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

    I keep getting this error "ValueError: The view accounts.decorators.wrapper_function didn't return an HttpResponse object. It returned None instead." any clue how to solve it, my code wasnt doing it properly so i copy pasted the source code and lined it up with mine

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

      I keep getting the same problem...

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

      else:
      # return HttpResponse('you are not authorized to view this page')
      return redirect('user-page')
      use this in else tag comment out or remove the HttpRespnse and write just return redirect('user-page') and in the views.py use allowed_user decorator instead of admin only your error will be removed

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

      simple..when creating your Group at your admin page. make sure the group names eg admin, customer is exactly the same with the string 'admin' and 'customer'. at your decorators.py file.this causes the error..like in my case i missplelled mine as Admin and Customers..

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

      when you change the permission from admin panel like ' user1 to admin and user2 to customer you forgot to press save button ' so click on save. it will work .

    • @ajithr1255
      @ajithr1255 4 ปีที่แล้ว

      Add the following under the admin_only function in decorators.py:
      if group == 'customer':
      return HttpResponse('You are not authorised to view this page.')

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

    Great tutorial, thanks!

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

    Great videos man!

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

    Great tutorial. Thank you

  • @shawonhossain519
    @shawonhossain519 4 ปีที่แล้ว

    Please make a video on how to use django user groups and permissions on a react frontend with django rest framework !!

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

    Hello Dennis, please can you do a video for me on how to have email verification before allowing the user to login with the UserCreationForm and also do how to login with email instead of the username please. Thanks and really love your works

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

    add another subscription link, i want to subscribe more that twice,,, hahahahaha ... you are the best. you have made my love Python.

  • @eminkoroglu4127
    @eminkoroglu4127 4 ปีที่แล้ว

    Thank you soo much for this video!!!

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

    While I had done this in the admin only function I am getting the error as "cannot return the decorator so none object returned". Can u please rectify this error bro

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

      me too bro

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

      same

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

      I was receiving this error as well. I suggest you go into your admin panel and make sure your user has the customer group assigned. I had mine assigned, but not saved. Also make sure your spelling is the same across the board.

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

      @@phucutube problem resolved and i forget to update the error bro

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

      To clarify - be sure you keep the proper capitalization. In Dennis' code, admin and customer are lower case. If your groups begin with capital letters like so: "Admin" and "Customer" then you will get the error in the OP.

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

    Thank you very much

  • @dennismillanzi1475
    @dennismillanzi1475 4 หลายเดือนก่อน

    Hello, iam getting an Attribute error which reads “NONE TYPE” object has no attribute “Groups” can you please help

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

    You Are Amazing !!!!!!!

  • @ErWasiKhan
    @ErWasiKhan 10 หลายเดือนก่อน

    There is one problem, If admin adding new group. So I think the new group will not work. We do not want to modify the code at server level.
    Please suggest. I tried but failed.
    I think The route should fetch current user role/group then compare with the view function.
    Request you to please give solution. I stucked in this problem.
    Thanks in advance.

  • @sanjaymaharjan1323
    @sanjaymaharjan1323 4 ปีที่แล้ว

    this guys should have 1m subsribber

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

    Dennis thanks for sharing your knowledge with us. After ending this course, which level would I have? Could I be able to make a simple website?

  • @BensonIbe
    @BensonIbe 10 หลายเดือนก่อน

    instead of return the Http response, I just return render the user page. so if you are not allowed to be there, it redirects your to where your should be.
    like this
    def allowed_users(allowed_roles=[]):
    def decorator(view_func):
    def wrapper_func(request, *args, **kwargs):
    group = None
    if request.user.groups.exists():
    group = request.user.groups.all()[0].name
    if group in allowed_roles:
    return view_func(request, *args, **kwargs)
    else:
    return render(request, 'accounts/user.html')
    return wrapper_func
    return decorator
    see the else statement. is theis logic okay?

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

    Remember, security by obscurity should be practiced. Meaning if a user does not have access to a page, they should get a 404 error not a error page letting them know they do not have access to the page.

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

      dont we put the 404 error message through http response or is it an automated text?

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

      @@axlblazeauthor I think my last message was deleted but you can read about the 404 response in the django docs. Essentially, you return a 404 response which is essentially its own view and template which can be customised to fit your needs.

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

    in 'admin_only' what is 'user-page' exactly ? I put there my 'Home' page but site show me ERR_TOO_MANY_REDIRECTS

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

    Thank you

  • @bentosalvador336
    @bentosalvador336 2 หลายเดือนก่อน

    hey man, I love your videos, you are amaizng. Just a little unrelated question, I saw that some times you use camelCase for name funcions, and some times you use snake_case. Is there a reason for that? When should I use one or another? thanks

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

    Hi,
    Thank you for the awesome content! I have a question "what is the difference between using decorator and middleware in Django when applying roles and permission?"

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

      Just different ways to accomplish the same task. I personally prefer middleware because we can create all logic in one area rather than having to add a decorator over each view. I'll be putting something together on middleware in the future :)

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

      Hi @@DennisIvy! Do you still plan to upload the Middleware video?

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

    You are amazing

  • @Magistrado1914
    @Magistrado1914 4 ปีที่แล้ว

    Excellent course
    17/07/2020

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

    when I click on logout and then back button from the browser
    it shows me the home page. user type is not anonymous what to do

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

    Why are we passing the parameters *args and **kwargs in wrapper_func??

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

    Okay so for everyone trying to do this with class based views, you should use mixins instead

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

    how can i use this allowed_user decorator for classbased view. View_func works for function . it doesn't work for classbased view. please help me

    • @valentinfontanger4962
      @valentinfontanger4962 4 ปีที่แล้ว

      docs.djangoproject.com/fr/3.0/topics/class-based-views/intro/. you have a section about how to do it for class based views

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

    def home(request):
    TypeError: 'NoneType' object is not callable
    i am stuck here for2 days
    please help

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

      I ran into same problem too but i found the problem being with my naming convention.
      The names i called in the decorators wasnt matching the one set in the url.py
      Maybe you check their.

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

    Thanks

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

    This content is awesome and so well explained Dennis. Have one question though , I want to set the permissions of a few admin panel users so that , they can only view the data and not be able to change it, could you show how to do that

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

    Hi sir, thank you for your super helpful Django & React tutorials. I have a question, in this episode you assign users to specific groups and then according to each group you restrict your pages. My question is, why don't you assign permissions to each group individually? and doesn't your method break the standard of normalization in database?

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

    can anyone resolve this

    Reverse for 'user-page' not found. 'user-page' is not a valid view function or pattern name

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

    excelente, buen trabajo

  • @basheerbasheer2158
    @basheerbasheer2158 4 ปีที่แล้ว

    this man is awesome great explanation and great tutorial.
    please explain how to create a payment method to make the user pay monthly for his account :D