Skip to main content

A simple Django app which adds view permissions.

Project description

Build Status Coverage Status Code Climate

Reusable application which provides a view permission for the existing models.


  • Django


  • Django: 1.8, 1.9, 1.10, 1.11

  • Python: 2.7, 3.4, 3.5, 3.6


For a full documentation you can visit:


  • pip install django-admin-view-permission

and then add admin_view_permission at the INSTALLED_APPS like this:


and finally run python migrate.


This app provides a setting:


in which you can provide which models you want to be added the view permission. If you don’t specify this setting then the view permission will be applied to all the models.


  1. Remove the admin_view_permission from your INSTALLED_APPS setting

  2. Delete the view permissions from the database:

    from django.contrib.auth.models import Permission
    permissions = Permission.objects.filter(codename__startswith='view')

    It will be helpful to check if the queryset contains only the view permissions and not anything else (for example: custom permission added)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-admin-view-permission-0.7.tar.gz (6.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page