对于模块开发人员来说,理解核心主题代码如何搜索适当的主题方法是很重要的。
Understanding how the core theme code searches for the appropriate theme method is important for module developers.
使用显式主题方法可以传入任何用户的主题,并确定他们是否具有执行某项操作的权限。
The explicit subject method enables you to pass in the subject of any user and determine if they are authorized to perform an action.
尽管书籍是大多数主题(包括Python)入门的一个极好方法,Python本身也带有一些非常好的文档。
While books are a wonderful way to get started with most topics (including Python), there is also very good documentation that accompanies Python itself.
应用推荐