django-admin list in readonly

16 views
Skip to first unread message

Hervé Edorh

unread,
Apr 27, 2018, 5:58:43 AM4/27/18
to Django users


In django admin, we have 3 rules that we can attribute to a table we can add, modify and delete. when you choose for an user the rule of modify, he can't add and delete, My problem is that a have list of object and i don't want that the user modify but can select it. how disable it?







James Farris

unread,
Apr 27, 2018, 10:11:14 AM4/27/18
to django...@googlegroups.com
In Django admin I would create a group and give it permissions and add users to that group. 

On Fri, Apr 27, 2018 at 2:58 AM Hervé Edorh <seno...@gmail.com> wrote:


In django admin, we have 3 rules that we can attribute to a table we can add, modify and delete. when you choose for an user the rule of modify, he can't add and delete, My problem is that a have list of object and i don't want that the user modify but can select it. how disable it?







--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/695626ea-1f0a-4c4e-917c-4d1d4937096e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hervé Edorh

unread,
Apr 27, 2018, 11:36:36 AM4/27/18
to Django users
Yes it is what i have done but i if i remove the modify rules in the admin, the simple user will not have the list appear in his session. i want him to just make the select without modify
Reply all
Reply to author
Forward
0 new messages