Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Django学习记录(一):Pycharm下项目创建 #37

Open
PyxYuYu opened this issue Sep 13, 2016 · 0 comments
Open

Django学习记录(一):Pycharm下项目创建 #37

PyxYuYu opened this issue Sep 13, 2016 · 0 comments

Comments

@PyxYuYu
Copy link
Owner

PyxYuYu commented Sep 13, 2016

You are beautiful, but that is not why I love you.

0x01 Django

  • Pycharm下创建Django项目
    • 项目路径必须全英文路径,否则会报错( 创建一般的Python应用时,不必如此 )
      • UnicodeDecodeError: 'ascii' codec can't decode byte 0xcf in position 9: ordinal not in range(128)
  • CMD下手动创建Django项目
    • django-admin startproject projectname
    • 进入projectname目录后,在其下创建 cd projectname
      • django-admin startapp appname
0x02 CMD

  • treedir
    • tree 直接输入,显示当前CMD路径下的目录树
    • tree c:\ 显示c:\根目录所有的目录树结构
    • tree c:\ /f 显示目录结构的同时显示所有文件
    • tree c:\ /f >c:\tree.txt 输出目录树结构以及所有文件保存到c:\tree.txt文件
    • dir 显示当前目录下所有文件
0x03 最近一段时间总结

  • 距离上次更新已有近3个月之久,期间安全圈也发生了很多事,最大的就是乌云了,我还记得当天仍然和往常一样提交漏洞,突然就无法连接了,我还以为是自家网络又卡了,晚上才在知乎看到消息,之后乌云更新了通知,和大多数人心里想的一样,隔了这么久,以后就算乌云回归了,肯定也不是原来的那个乌云了,但是还是很感谢乌云,让我学习了很多知识,也希望乌云可以尽早回归吧!
  • DjangoPHP 的学习计划已经规划好,打算做一个自己的神器,加油!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant