摘要:
...if num == 1: return clone._result_cache[0]if not num: raise self.model.DoesNotExist( "%s matching query does not exist." % self.model._meta.object_ 阅读全文
摘要:
$(function() { $('#submit').click(function() { var d = {}; var t = $('form').serializeArray(); //t的值为[{name: "a1", value: "xx"}, //{name: "a2", value: 阅读全文