Django Book 翻译
菜单>:
TOC
返回
原文:
the ``year`` argument to ``views.year_archive()`` will be a string, not an integer, even though ``\d{4}`` will only match integer strings.
翻译:
尽管 ``\d{4}`` 将只匹配整数的字符串,但是参数 ``year`` 是作为字符串传至 ``views.year_archive()`` 的,而不是整型。
备注:
译者: