【1.2】优先使用通用类视图

 1.函数视图,通过条件分支的方式,来响应不同的http请求

  

2.类视图

  

3.通用类视图

  http://ccbv.co.uk/

猜你喜欢

转载自www.cnblogs.com/zydeboke/p/11457192.html