开发者

Will Django user permissions work for models with inline tabular forms of other models?

I am setting up DJango admin to make a model editable. On the same page I have tabular inline of a child model. Everything works as expected. Now I want to restrict permission on the tabular inline child form. Specifically remove update and delete permissions on it. I have tried removing the permissions for the admin user using the 'user permissions' of that user. Ho开发者_StackOverflow社区wever, it does not work. Does DJango respect the user permissions in regards to inline model forms?


It works as of django 1.4. Here's the original ticket: http://code.djangoproject.com/ticket/8060

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜