Pseudo-static, virtual environment, django version differences

Pseudo-static

The dynamic web page pretending to be static
aim is to improve SEO search engine query priority
search included when the site will look like static file included priority resources

For example, in your back plus a .html file disguised as static, but in fact you do not static file

但是无论你怎么使用伪静态进行优化 你也干不过RMB玩家

Virtual Environment

Installing the module usually only project for different items used less than not and will not install

不同的项目有专门的解释器环境与之对应

每创建一个虚拟环境 就类似于重新下载了一个纯净的python解释器

虚拟环境不要创建太多个 

django version differences

​ django1.x
​ django2.x

区别1:
    urls.py中1.x用的是url,而2.x用的是path
    并且2.x中的path第一个不支持正则表达式,写什么就匹配什么
    如果你觉得不好用,2.x里面还有re_path 这个re_path就是你1.x里面的url

Guess you like

Origin www.cnblogs.com/chanyuli/p/11723485.html