Django Book 翻译
菜单>:
TOC
返回
原文:
The ``Admin`` declaration flags the class as having an admin interface. There are a number of options that you can put beneath ``Admin`` , but for now were sticking with all the defaults, so we put ``pass`` in there to signify to Python that the ``Admin`` class is empty.
翻译:
``Admin`` 声明标志了该类有一个管理界面。在 ``Admin`` 之下你可以放很多选项,但目前我们只关注缺省的东西,所以我们只在那写上 ``pass`` 让 Python 知道 ``Admin`` 类是空的。
备注:
译者: