Skip to main content

Fresh Django permissions widget

Project description

https://pypip.in/d/django-permissions-widget/badge.png https://pypip.in/v/django-permissions-widget/badge.png

By default, Django’s admin provides a permission widget which looks like this:

images/default_widget.png

There are several problems with this widget:

  • the permission description is cut, see the fourth line: ‘admin_test_autocomplete | bar | Can add l’. The administrator will not be able to read it and might report it as a bug.

  • it proposes permissions for admin.logentry. The administrator will not understand what this is about and will ask you about it.

  • it uses a widget which might be new to the administrator and he might ask how to use it.

The purpose of this app is to provide a better widget for selecting permissions as well as an easy way to replace the default permissions widget in your admin site. It will look like this:

images/new_widget.png

Requirements

  • Maintained against Python 2.7

  • and Django 1.5

Quick Install

  • Install the latest release via: pip install django-permissions-widget.

  • Add to settings.INSTALLED_APPS: permissions_widget.

That’s it ! You should have a sane permissions widget now.

Resources

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-permissions-widget-0.0.1.tar.gz (8.8 kB view details)

Uploaded Source

File details

Details for the file django-permissions-widget-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-permissions-widget-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c7d2e938e41ea371e1329fa5206e61983729164b6c29911a7a411c5e302b6f41
MD5 d75beb67141a37beddc66585060413af
BLAKE2b-256 efd58a231f645f11ed5eff26d364f9ee6a4e9c163f610b6918d3ef2ae51dc13c

See more details on using hashes here.

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