Hi.
The answer is very simple.
you have to install *django-admin-view-permission*
then you have to added on setting
INSTALLED_APPS = [
...
'admin_view_permission',
...
]
finally you have to run:* python manage.py migrate*
You will see that the permission will already be available in the admin
panel.
For more information see the package web page:
http://django-admin-view-permission.readthedocs.io/en/latest/index.html
El domingo, 8 de febrero de 2015, 11:44:26 (UTC-3), Hangloser Firestarter
escribió:
>
> Hello.
> I am using the admin backend of a system, but not all users of this
> backend can access all system models.
> By default Django is the roles ADD, EDIT and DELETE, I wonder if anyone
> has customized the model auth.permission to generate a permission 'read
> only' to Django Admin? Or if you have used any APP to do that.
>
> Thank
>
--
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 [email protected].
To post to this group, send email to [email protected].
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/f25a3fee-59ca-45c0-a5f0-f8791149b37b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.