Django Book 翻译
菜单>:
TOC
返回
原文:
``slug_field`` : The name of the field on the object containing the slug. This is required if you are using the ``slug`` argument, but it must be absent if youre using the ``object_id`` argument.
翻译:
``slug_field`` : 包含 slug 的对象的字段名. 如果你使用 slug 参数就必须设置此参数,而使用 ``object_id`` 则一定不能设置此参数.
备注:
译者: