django get_object_or_404 转:http://www.cnpythoner.com/post/105.html 意思就是按照条件进行查询的时候,如果查询的对象不存在的话,会抛出一个http404,比get更加友好