“Django基础”的版本间的差异

来自linux中国网wiki
跳到导航 跳到搜索
第63行: 第63行:
 
[https://www.zhihu.com/question/26235428 学Python Django学得很迷茫,怎么办?]
 
[https://www.zhihu.com/question/26235428 学Python Django学得很迷茫,怎么办?]
  
 +
 +
[https://www.cnblogs.com/yinzhengjie/tag/Django%E5%BC%80%E5%8F%91/ Django开发 ]
 
[https://www.cnblogs.com/yinzhengjie/p/10243997.html 运维开发笔记整理-使用Django编写helloworld ]
 
[https://www.cnblogs.com/yinzhengjie/p/10243997.html 运维开发笔记整理-使用Django编写helloworld ]
  
 
[https://www.cnblogs.com/yinzhengjie/p/10246850.html 运维开发笔记整理-创建django用户]
 
[https://www.cnblogs.com/yinzhengjie/p/10246850.html 运维开发笔记整理-创建django用户]

2021年6月16日 (三) 14:07的版本

进阶

老齐的东西

老齐教室-机器学习数学基础


新建django project的基本步骤 站内知识

django源码

求大神指教,如何学习Django源码?

Django源码分析(四):请求来了

tutorial

$ python3 -m pip install Django==2.2
python -m django --version

install

Ubuntu部署Django项目方法详解 ng uswi

django项目中settings.py中的BASE_DIR的分析

1.__file__得到当前文件文件名字

2.os.path.abspath(file)得到当前文件的绝对路径

3.os.path.dirname(os.path.abspath(file))得到当前文件的上一层的文件夹路径

4.os.path.dirname(os.path.dirname(os.path.abspath(file)))得到当前文件的上一次文件夹的上一层文件夹路径

grep -rn  BASE settings.py #当前文件的上一个目录是也 
'DIRS': [os.path.join(BASE_DIR, 'templates'),],


关于django项目中settings.py中的BASE_DIR的分析


关于django:BASE DIR的绝对路径是什么?

django RESTful api

Django model

依赖包到requirements.txt

项目搬迁,快捷导出环境依赖包到requirements.txt

项目搬迁的时候,需要把当前的环境依赖包导出,然后到部署项目的服务器上安装依赖。 我们可以通过下面的命令执行,把依赖包导出到requirements.txt文件里。 生成requirements.txt

pip freeze > requirements.txt

安装requirements.txt依赖

pip install -r requirements.txt

Django结合Pyecharts实现数据可视化

https://blog.csdn.net/qq_34156628/article/details/106308176

我的代码 在 https://github.com/evan886/pyecharts-learn

see also

学Python Django学得很迷茫,怎么办?


Django开发 运维开发笔记整理-使用Django编写helloworld 

运维开发笔记整理-创建django用户