pip install django-admin-view-permission and then addadmin_view_permissionat the INSTALLED_APPS like this: INSTALLED_APPS = [ 'admin_view_permission', 'django.contrib.admin', ... ] and finally runpython manage.py migrate. You need to place theadmin_view_permissionbeforedjango.contrib.adminin...
Make a modeladmin with save_as=True, and one unique field, with an inline where the user only has 'view' permission. Create an instance. Open it, press "save as new". This will result in the validation error, as it should, but the inline is shown as editable with empty forms. The...
https://github.com/django/django/compare/master...PetrDlouhy:view_permission_master?expand=1 There few weak spots, that I am feeling that should be discussed with someone more experienced: Model situation: User has defined ModelAdmin with custom has_change_permission() such that it disallows...