• Tools
  • Articles
  • Q&A
  • Login
0 0

django中include和extends有什么区别?


最近在学习django,编写template的时候,发现样例中有的是在中间用的include,有的是在顶部用的extends。请问两个有什么区别?

include 开发 django 区别 extends

11 years, 2 months ago
wuser

wuser


share
wuser 11 years, 2 months ago

Answers

Your Answer

Ask Question
Related questions

django中的class based view有什么优势?

django的template中如何判断权限?

如何在linux命令行下执行django脚本?

可以在django中设置全局变量吗?

django中如何获取特定的contenttype?

django中的content types 框架是什么意思?有什么作用?

Related posts

Bootdey React Native代码库

11个React Native的UI库 - 2019年

英式英语和美式英语的不同拼写

React Native Redux教程 1