Django Book 翻译
菜单>:
TOC
返回
原文:
This matches URLs such as ``/myblog/entries/add/`` and ``/auth/groups/add/`` . However, the add page for a user object (``/auth/user/add/`` ) is a special case it doesnt display all of the form fields, it displays two password fields, and so forth. We *could* solve this problem by special-casing in the view, like so:
翻译:
这将匹配像 ``/myblog/entries/add/`` 和 ``/auth/groups/add/`` 这样的URL 。然而,对于用户对象的添加页面( ``/auth/user/add/`` )是个特殊情况,因为它不会显示所有的表单域,它显示两个密码域等等。我们 *可以* 在视图中特别指出以解决这种情况:
备注:
译者: