You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
As django admin has three permissions in it's auth : add, change, delete! I want to add view permission in this auth in admin panel. ![enter image description here][1]
I know i have to customize permissions to add view permission in 'auth | permission | can_view permission' to view all entries!
>>> from django.contrib.auth.models import User >>> User.user_permissions.add(new_permission) // WRONG WAY
Question: Where to write code to add permissions in this model.