Django Book 翻译
菜单>:
TOC
返回
原文:
In each of these cases, its easy to keep yourself protected. In each case, avoid string interpolation in favor of passing in *bind parameters* . That is, the example we started this section with should be written as follows:
翻译:
以上列举的每一个示例都能够很容易的让您的应用得到保护。在每一个示例中,为了避免字符串被篡改而使用 *绑定参数* 来代替。也就是说,在本章中我们使用到的所有示例都应该写成如下所示:
备注:
译者: