Giter Site home page Giter Site logo

genba / django-permissions-widget Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yourlabs/django-permissions-widget

0.0 2.0 0.0 1.6 MB

A fresh permissions widget for django

Home Page: http://permissions-widget.readthedocs.org/

License: MIT License

django-permissions-widget's Introduction

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:

http://permissions-widget.readthedocs.org/en/latest/_static/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:

http://permissions-widget.readthedocs.org/en/latest/_static/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, after django.contrib.admin which we want to override: 'permissions_widget',. If you are using custom user modeal as for Django 1.5 - you have to add 'permissions_widget', after the app, that contains your custom user model.

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

Resources

django-permissions-widget's People

Contributors

jpic avatar vosi avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.