Django administration view: how to remove auto generated permissions?
Django administration view automatically generates permissions for all modules and tables - admin, auth, contenttypes etc. Is it possible to remove this permissions from 'Available user permissions' so i can see only pe开发者_如何学运维rmissions that i think are relevant?
Not in an elegant manner. You would need to either override the template or go mucking in the admin code (django philosophy: "the admin is not your app").
It's best to create your own interface.
精彩评论