A simple Django app which adds view permissions.
Project description
Reusable application which provides a view permission for the existing models.
Requirements
Django
Support
Django: 1.8, 1.9
Python: 2.7, 3.4, 3.5
Setup
pip install django-admin-view-permission
and then add admin_view_permission at the INSTALLED_APPS like this:
INSTALLED_APPS = [ 'admin_view_permission', 'django.contrib.admin', ... ]
and finally run python manage.py migrate.
Configuration
This app provides a setting:
ADMIN_VIEW_PERMISSION_MODELS = [ auth.User, ... ]
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for django-admin-view-permission-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 266d47aeee148216d665ebb18ce2cd4389a5e626193ccb06f426e6043b1d24c8 |
|
MD5 | a5a82c3cbe4e758718a8f93a31f8ab2b |
|
BLAKE2b-256 | a46316a9e7bd799ee02de58774a33226f2419f3edd24cb889b135b3dc0987203 |