Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试编写一个 html 表单,其中包括一个单选按钮和关键字搜索。代码在这里:
http://dpaste.com/115844/
django 视图无法识别此语法:
pubtypeid = request.GET['pubtypeid']
有人可以帮我正确地写这个吗?
谢谢,
安娜
您错误地使用了“如果”。它应该有两个“=”,而不是一个。