Django: Add Permission model to admin panel

How to add a permissions model to your Django admin?
You may add those lines to anywhere in your code. But it is more convinient to add this to your or place where django admin custom code lies. Here are them:
from django.contrib.auth.models import Permission
Now you can manage them in in your Django admin panel. May look like this:
Hope this helps.


  1. Hi,To put it in simple words, a design should follow these simple rules of basic Web Design Cochin to be qualified as a quality web design. Connects the visitor with the content.thanks.....


Post a Comment

Popular posts from this blog

Python converting PDF to Image

How to disable/enable an element with jQuery or Javascript

Django: Resetting Passwords (with internal tools)