I cannot but agree with Kasper, but here is a naive example: @login_requireddef create_sale_view(request): if request.user.has_perm("sell.add_product"): # The user can add new product for sale else: # The user cannot add new product for salehttps://docs.djangoproject.com/en/4.0/topi
yes. I went through the documentation but did not work on what I wanted to
achieve. I am totally lost
On Tue, May 10, 2022 at 5:05 PM Kasper Laudrup
wrote:
> On 10/05/2022 11.53, DJANGO DEVELOPER wrote:
> > yes, I know. but how to use them?
> >
>
> The link literally starts with "This document e
On 10/05/2022 11.53, DJANGO DEVELOPER wrote:
yes, I know. but how to use them?
The link literally starts with "This document explains the usage of
Django’s authentication system in its default configuration" so it seems
like an obvious place to look in order to figure out "how to use them".
yes, I know. but how to use them?
On Tue, May 10, 2022 at 1:11 PM George Tantiras wrote:
>
> What about Django permissions?
>
> https://docs.djangoproject.com/en/4.0/topics/auth/default/
>
> A user can be related to many groups.
> 20:23, 9 May 2022, DJANGO DEVELOPER :
>
>
> https://stackoverflo
What about Django permissions? https://docs.djangoproject.com/en/4.0/topics/auth/default/A user can be related to many groups.20:23, 9 May 2022, DJANGO DEVELOPER :https://stackoverflow.com/questions/72161764/how-to-make-a-user-act-as-a-seller-and-as-a-buyer-at-the-same-time-in-djangoI have posted m
https://stackoverflow.com/questions/72161764/how-to-make-a-user-act-as-a-seller-and-as-a-buyer-at-the-same-time-in-django
I have posted my problem on StackOverflow. can anyone help me? thanks in
advance
--
You received this message because you are subscribed to the Google Groups
"Django users"
6 matches
Mail list logo