开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜