Django Book 翻译
菜单>:
TOC
返回
原文:
In an ``HttpRequest`` object, the ``GET`` and ``POST`` attributes are instances of ``django.http.QueryDict`` . ``QueryDict`` is a dictionary-like class customized to deal with multiple values for the same key. This is necessary because some HTML form elements, notably ``
`` , pass multiple values for the same key.
翻译:
在一个 ``HttpRequest`` 对象中, ``GET`` 和 ``POST`` 属性都是 ``django.http.QueryDict`` 的实例。 ``QueryDict`` 是一个类似于字典的类,专门用来处理用一个键的多值。当处理一些HTML表单中的元素,特别是 ``
`` 之类传递同一key的多值的元素时,就需要这个类了。
备注:
译者: