Django Book 翻译
菜单>:
TOC
返回
原文:
Note, however, that the first of these will raise ``IndexError`` while the second will raise ``DoesNotExist`` if no objects match the given criteria.
翻译:
但是要记住,如果没有符合条件的记录的话,第一种用法会导致 ``IndexError`` ,而第二种用法会导致 ``DoesNotExist`` 。
备注:
译者: