瀏覽代碼

更新了大纲结构

jackfrued 7 年之前
父節點
當前提交
41b9856e51
共有 100 個文件被更改,包括 42 次插入7 次删除
  1. 2 0
      Day16-20/Python进阶知识.md
  2. 0 0
      Day21-30/Web前端概述.md
  3. 0 0
      Day21-30/classical_layout.html
  4. 0 0
      Day21-30/example.html
  5. 0 0
      Day21-30/form.html
  6. 0 0
      Day21-30/form_and_table.html
  7. 0 0
      Day21-30/img/Thumbs.db
  8. 0 0
      Day21-30/img/a1.jpg
  9. 0 0
      Day21-30/img/a2.jpg
  10. 0 0
      Day21-30/img/a3.jpg
  11. 0 0
      Day21-30/jquery3.html
  12. 0 0
      Day21-30/js/jquery.min.js
  13. 0 0
      Day21-30/qq_link.html
  14. 0 0
      Day21-30/res/browser-joke-1.jpeg
  15. 0 0
      Day21-30/res/browser-joke-2.jpg
  16. 0 0
      Day21-30/res/browser-joke-3.jpg
  17. 0 0
      Day21-30/res/dom-page.png
  18. 0 0
      Day21-30/res/dom-tree.png
  19. 0 0
      Day31-35/res/Dennis-Ritchie.jpg
  20. 0 0
      Day31-35/res/Ken-Thompson.png
  21. 0 0
      Day31-35/res/Linus-Torvalds.jpg
  22. 0 0
      Day31-35/res/Stallman.jpg
  23. 0 0
      Day31-35/res/Tanenbaum.jpg
  24. 0 0
      Day31-35/res/history-of-os.png
  25. 0 0
      Day31-35/res/history-of-unix.png
  26. 0 0
      Day31-35/res/linux-network-config.png
  27. 0 0
      Day31-35/玩转Linux操作系统.md
  28. 0 4
      Day31-Day35/Django 2.x实战(05) - 会话及其应用.md
  29. 0 0
      Day36-40/res/IMG_0358.PNG
  30. 0 0
      Day36-40/res/IMG_0360.png
  31. 0 0
      Day36-40/res/IMG_0361.png
  32. 0 0
      Day36-40/res/IMG_0362.png
  33. 0 0
      Day36-40/res/IMG_0363.png
  34. 0 0
      Day36-40/res/IMG_0364.png
  35. 0 0
      Day36-40/res/IMG_0365.png
  36. 0 0
      Day36-40/res/IMG_0366.png
  37. 0 0
      Day36-40/res/redis-data-type.png
  38. 0 0
      Day36-40/关系型数据库MySQL.md
  39. 0 0
      Day36-40/非关系型数据库Redis.md
  40. 1 1
      Day41-55/Django 2.x实战(01).md
  41. 15 2
      Day41-55/Django 2.x实战(02).md
  42. 0 0
      Day41-55/Django 2.x实战(03).md
  43. 0 0
      Day41-55/Django 2.x实战(04).md
  44. 4 0
      Day41-55/Django 2.x实战(05).md
  45. 4 0
      Day41-55/Django 2.x实战(06).md
  46. 4 0
      Day41-55/Django 2.x实战(07).md
  47. 4 0
      Day41-55/Django 2.x实战(08).md
  48. 4 0
      Day41-55/Django 2.x实战(09).md
  49. 4 0
      Day41-55/Django 2.x实战(10).md
  50. 0 0
      Day41-55/car/car/__init__.py
  51. 0 0
      Day41-55/car/car/settings.py
  52. 0 0
      Day41-55/car/car/urls.py
  53. 0 0
      Day41-55/car/car/wsgi.py
  54. 0 0
      Day41-55/car/manage.py
  55. 0 0
      Day41-55/car/search/__init__.py
  56. 0 0
      Day41-55/car/search/admin.py
  57. 0 0
      Day41-55/car/search/apps.py
  58. 0 0
      Day41-55/car/search/migrations/0001_initial.py
  59. 0 0
      Day41-55/car/search/migrations/0002_auto_20180524_1420.py
  60. 0 0
      Day41-55/car/search/migrations/__init__.py
  61. 0 0
      Day41-55/car/search/models.py
  62. 0 0
      Day41-55/car/search/tests.py
  63. 0 0
      Day41-55/car/search/views.py
  64. 0 0
      Day41-55/car/static/images/icon-no.svg
  65. 0 0
      Day41-55/car/static/images/icon-yes.svg
  66. 0 0
      Day41-55/car/templates/add.html
  67. 0 0
      Day41-55/car/templates/search.html
  68. 0 0
      Day41-55/car/templates/search2.html
  69. 0 0
      Day41-55/oa/hrs/__init__.py
  70. 0 0
      Day41-55/oa/hrs/admin.py
  71. 0 0
      Day41-55/oa/hrs/apps.py
  72. 0 0
      Day41-55/oa/hrs/migrations/0001_initial.py
  73. 0 0
      Day41-55/oa/hrs/migrations/0002_auto_20180523_0923.py
  74. 0 0
      Day41-55/oa/hrs/migrations/0003_auto_20180524_1646.py
  75. 0 0
      Day41-55/oa/hrs/migrations/__init__.py
  76. 0 0
      Day41-55/oa/hrs/models.py
  77. 0 0
      Day41-55/oa/hrs/tests.py
  78. 0 0
      Day41-55/oa/hrs/urls.py
  79. 0 0
      Day41-55/oa/hrs/views.py
  80. 0 0
      Day41-55/oa/manage.py
  81. 0 0
      Day41-55/oa/oa/__init__.py
  82. 0 0
      Day41-55/oa/oa/settings.py
  83. 0 0
      Day41-55/oa/oa/urls.py
  84. 0 0
      Day41-55/oa/oa/wsgi.py
  85. 0 0
      Day41-55/oa/static/css/bootstrap.min.css
  86. 0 0
      Day41-55/oa/static/images/mm.jpg
  87. 0 0
      Day41-55/oa/static/js/bootstrap.min.js
  88. 0 0
      Day41-55/oa/static/js/jquery.min.js
  89. 0 0
      Day41-55/oa/templates/dept.html
  90. 0 0
      Day41-55/oa/templates/emp.html
  91. 0 0
      Day41-55/oa/templates/index.html
  92. 0 0
      Day41-55/res/django-index-1.png
  93. 0 0
      Day41-55/res/django-index-2.png
  94. 0 0
      Day41-55/res/er-graph.png
  95. 0 0
      Day41-55/res/http-request.png
  96. 0 0
      Day41-55/res/http-response.png
  97. 0 0
      Day41-55/res/mvc.png
  98. 0 0
      Day41-55/res/runserver.png
  99. 0 0
      Day41-55/res/web-application.png
  100. 0 0
      Day41-55/shop/cart/__init__.py

+ 2 - 0
Day16-20/Python进阶知识.md

@@ -0,0 +1,2 @@
+## Python进阶知识
+

+ 0 - 0
Day16-20/Web前端概述.md → Day21-30/Web前端概述.md


+ 0 - 0
Day16-20/classical_layout.html → Day21-30/classical_layout.html


+ 0 - 0
Day16-20/example.html → Day21-30/example.html


+ 0 - 0
Day16-20/form.html → Day21-30/form.html


+ 0 - 0
Day16-20/form_and_table.html → Day21-30/form_and_table.html


+ 0 - 0
Day16-20/img/Thumbs.db → Day21-30/img/Thumbs.db


+ 0 - 0
Day16-20/img/a1.jpg → Day21-30/img/a1.jpg


+ 0 - 0
Day16-20/img/a2.jpg → Day21-30/img/a2.jpg


+ 0 - 0
Day16-20/img/a3.jpg → Day21-30/img/a3.jpg


+ 0 - 0
Day16-20/jquery3.html → Day21-30/jquery3.html


+ 0 - 0
Day16-20/js/jquery.min.js → Day21-30/js/jquery.min.js


+ 0 - 0
Day16-20/qq_link.html → Day21-30/qq_link.html


+ 0 - 0
Day16-20/res/browser-joke-1.jpeg → Day21-30/res/browser-joke-1.jpeg


+ 0 - 0
Day16-20/res/browser-joke-2.jpg → Day21-30/res/browser-joke-2.jpg


+ 0 - 0
Day16-20/res/browser-joke-3.jpg → Day21-30/res/browser-joke-3.jpg


+ 0 - 0
Day16-20/res/dom-page.png → Day21-30/res/dom-page.png


+ 0 - 0
Day16-20/res/dom-tree.png → Day21-30/res/dom-tree.png


+ 0 - 0
Day21-25/res/Dennis-Ritchie.jpg → Day31-35/res/Dennis-Ritchie.jpg


+ 0 - 0
Day21-25/res/Ken-Thompson.png → Day31-35/res/Ken-Thompson.png


+ 0 - 0
Day21-25/res/Linus-Torvalds.jpg → Day31-35/res/Linus-Torvalds.jpg


+ 0 - 0
Day21-25/res/Stallman.jpg → Day31-35/res/Stallman.jpg


+ 0 - 0
Day21-25/res/Tanenbaum.jpg → Day31-35/res/Tanenbaum.jpg


+ 0 - 0
Day21-25/res/history-of-os.png → Day31-35/res/history-of-os.png


+ 0 - 0
Day21-25/res/history-of-unix.png → Day31-35/res/history-of-unix.png


+ 0 - 0
Day21-25/res/linux-network-config.png → Day31-35/res/linux-network-config.png


+ 0 - 0
Day21-25/玩转Linux操作系统.md → Day31-35/玩转Linux操作系统.md


+ 0 - 4
Day31-Day35/Django 2.x实战(05) - 会话及其应用.md

@@ -1,4 +0,0 @@
-## Django 2.x实战(05) - 会话及其应用
-
-
-

+ 0 - 0
Day26-30/res/IMG_0358.PNG → Day36-40/res/IMG_0358.PNG


+ 0 - 0
Day26-30/res/IMG_0360.png → Day36-40/res/IMG_0360.png


+ 0 - 0
Day26-30/res/IMG_0361.png → Day36-40/res/IMG_0361.png


+ 0 - 0
Day26-30/res/IMG_0362.png → Day36-40/res/IMG_0362.png


+ 0 - 0
Day26-30/res/IMG_0363.png → Day36-40/res/IMG_0363.png


+ 0 - 0
Day26-30/res/IMG_0364.png → Day36-40/res/IMG_0364.png


+ 0 - 0
Day26-30/res/IMG_0365.png → Day36-40/res/IMG_0365.png


+ 0 - 0
Day26-30/res/IMG_0366.png → Day36-40/res/IMG_0366.png


+ 0 - 0
Day26-30/res/redis-data-type.png → Day36-40/res/redis-data-type.png


+ 0 - 0
Day26-30/关系型数据库入门.md → Day36-40/关系型数据库MySQL.md


+ 0 - 0
Day26-30/非关系型数据库入门.md → Day36-40/非关系型数据库Redis.md


+ 1 - 1
Day31-Day35/Django 2.x实战(01) - 快速上手.md → Day41-55/Django 2.x实战(01).md

@@ -410,4 +410,4 @@ Django诞生于2003年,它是一个在真正的应用中成长起来的项目
 
 至此,我们已经利用Django框架完成了一个非常小的Web应用,虽然它并没有任何的实际价值,但是我们需要通过这个项目了解到Django框架的使用方式。当然,如果使用PyCharm的Professional版本,也可以通过PyCharm的创建项目的选项直接创建Django项目,使用PyCharm的好处在于编写代码时可以获得代码提示、错误修复、自动导入等功能,从而提升开发效率,但是代价是需要支付对应的费用才能使用专业版的PyCharm,社区版的PyCharm中并未包含对Web框架的支持。
 
-此外,学习Django最好的资料肯定是它的[官方文档](https://docs.djangoproject.com/zh-hans/2.0/),除此之外图灵社区最近出版的[《Django基础教程》](http://www.ituring.com.cn/book/2630)也是非常适合初学者的读物。
+此外,学习Django最好的资料肯定是它的[官方文档](https://docs.djangoproject.com/zh-hans/2.0/),除此之外图灵社区最近出版的[《Django基础教程》](http://www.ituring.com.cn/book/2630)也是非常适合初学者的读物。 

+ 15 - 2
Day31-Day35/Django 2.x实战(02) - 深入模型.md → Day41-55/Django 2.x实战(02).md

@@ -47,7 +47,7 @@
 
    其他的配置可以参考官方文档中[数据库配置](https://docs.djangoproject.com/zh-hans/2.0/ref/databases/#third-party-notes)的部分。
 
-   NAME属性代表数据库的名称,如果使用SQLite它对应着一个文件,在这种情况下NAME的属性值应该是一个绝对路径。如果使用其他关系型数据库,还要配置对应的USER、PASSWORD、HOST、PORT等属性。
+   NAME属性代表数据库的名称,如果使用SQLite它对应着一个文件,在这种情况下NAME的属性值应该是一个绝对路径。如果使用其他关系型数据库,还要配置对应的HOST(主机)、PORT(端口)、USER(用户名)、PASSWORD(口令)等属性。
 
 2. 安装MySQL客户端工具,Python 3中使用PyMySQL,Python 2中用MySQLdb。
 
@@ -92,7 +92,7 @@
      Applying sessions.0001_initial... OK
    ```
 
-4. 可以看到,Django帮助我们创建了10张二维表,这些都是使用Django框架需要的东西,除了这些之外,我们还应该为我们自己的应用创建数据模型。如果要在hrs应用中实现对部门和员工的管理,我们可以创建如下所示的数据模型。
+4. 可以看到,Django帮助我们创建了10张表,这些都是使用Django框架需要的东西,稍后我们就会用到这些表。除此之外,我们还应该为我们自己的应用创建数据模型。如果要在hrs应用中实现对部门和员工的管理,我们可以创建如下所示的数据模型。
 
    ```Shell
    (venv)$ cd hrs
@@ -162,6 +162,19 @@
 
 ### 使用ORM完成模型的CRUD操作
 
+我们先在shell中演示如何利用Django中内置的ORM框架对模型进行CRUD(Create / Read / Update / Delete)操作。
+
+```Shell
+(venv)$ python manage.py shell
+Python 3.6.4 (v3.6.4:d48ecebad5, Dec 18 2017, 21:07:28) 
+[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
+Type "help", "copyright", "credits" or "license" for more information.
+(InteractiveConsole)
+>>> 
+```
+
+
+
 #### 新增
 
 

+ 0 - 0
Day31-Day35/Django 2.x实战(03) - 视图+模板+URL.md → Day41-55/Django 2.x实战(03).md


+ 0 - 0
Day31-Day35/Django 2.x实战(04) - 表单的应用.md → Day41-55/Django 2.x实战(04).md


+ 4 - 0
Day41-55/Django 2.x实战(05).md

@@ -0,0 +1,4 @@
+## Django 2.x实战(05) - Cookie和会话
+
+
+

+ 4 - 0
Day41-55/Django 2.x实战(06).md

@@ -0,0 +1,4 @@
+## Django 2.x实战(06) - 日志和缓存
+
+
+

+ 4 - 0
Day41-55/Django 2.x实战(07).md

@@ -0,0 +1,4 @@
+## Django 2.x实战(07) - 文件上传和通用视图
+
+
+

+ 4 - 0
Day41-55/Django 2.x实战(08).md

@@ -0,0 +1,4 @@
+## Django 2.x实战(08) - 用户/角色/权限和中间件
+
+
+

+ 4 - 0
Day41-55/Django 2.x实战(09).md

@@ -0,0 +1,4 @@
+## Django 2.x实战(09) - RESTful架构和应用(上)
+
+
+

+ 4 - 0
Day41-55/Django 2.x实战(10).md

@@ -0,0 +1,4 @@
+## Django 2.x实战(10) - RESTful架构和应用(下)
+
+
+

+ 0 - 0
Day31-Day35/car/car/__init__.py → Day41-55/car/car/__init__.py


+ 0 - 0
Day31-Day35/car/car/settings.py → Day41-55/car/car/settings.py


+ 0 - 0
Day31-Day35/car/car/urls.py → Day41-55/car/car/urls.py


+ 0 - 0
Day31-Day35/car/car/wsgi.py → Day41-55/car/car/wsgi.py


+ 0 - 0
Day31-Day35/car/manage.py → Day41-55/car/manage.py


+ 0 - 0
Day31-Day35/car/search/__init__.py → Day41-55/car/search/__init__.py


+ 0 - 0
Day31-Day35/car/search/admin.py → Day41-55/car/search/admin.py


+ 0 - 0
Day31-Day35/car/search/apps.py → Day41-55/car/search/apps.py


+ 0 - 0
Day31-Day35/car/search/migrations/0001_initial.py → Day41-55/car/search/migrations/0001_initial.py


+ 0 - 0
Day31-Day35/car/search/migrations/0002_auto_20180524_1420.py → Day41-55/car/search/migrations/0002_auto_20180524_1420.py


+ 0 - 0
Day31-Day35/car/search/migrations/__init__.py → Day41-55/car/search/migrations/__init__.py


+ 0 - 0
Day31-Day35/car/search/models.py → Day41-55/car/search/models.py


+ 0 - 0
Day31-Day35/car/search/tests.py → Day41-55/car/search/tests.py


+ 0 - 0
Day31-Day35/car/search/views.py → Day41-55/car/search/views.py


+ 0 - 0
Day31-Day35/car/static/images/icon-no.svg → Day41-55/car/static/images/icon-no.svg


+ 0 - 0
Day31-Day35/car/static/images/icon-yes.svg → Day41-55/car/static/images/icon-yes.svg


+ 0 - 0
Day31-Day35/car/templates/add.html → Day41-55/car/templates/add.html


+ 0 - 0
Day31-Day35/car/templates/search.html → Day41-55/car/templates/search.html


+ 0 - 0
Day31-Day35/car/templates/search2.html → Day41-55/car/templates/search2.html


+ 0 - 0
Day31-Day35/oa/hrs/__init__.py → Day41-55/oa/hrs/__init__.py


+ 0 - 0
Day31-Day35/oa/hrs/admin.py → Day41-55/oa/hrs/admin.py


+ 0 - 0
Day31-Day35/oa/hrs/apps.py → Day41-55/oa/hrs/apps.py


+ 0 - 0
Day31-Day35/oa/hrs/migrations/0001_initial.py → Day41-55/oa/hrs/migrations/0001_initial.py


+ 0 - 0
Day31-Day35/oa/hrs/migrations/0002_auto_20180523_0923.py → Day41-55/oa/hrs/migrations/0002_auto_20180523_0923.py


+ 0 - 0
Day31-Day35/oa/hrs/migrations/0003_auto_20180524_1646.py → Day41-55/oa/hrs/migrations/0003_auto_20180524_1646.py


+ 0 - 0
Day31-Day35/oa/hrs/migrations/__init__.py → Day41-55/oa/hrs/migrations/__init__.py


+ 0 - 0
Day31-Day35/oa/hrs/models.py → Day41-55/oa/hrs/models.py


+ 0 - 0
Day31-Day35/oa/hrs/tests.py → Day41-55/oa/hrs/tests.py


+ 0 - 0
Day31-Day35/oa/hrs/urls.py → Day41-55/oa/hrs/urls.py


+ 0 - 0
Day31-Day35/oa/hrs/views.py → Day41-55/oa/hrs/views.py


+ 0 - 0
Day31-Day35/oa/manage.py → Day41-55/oa/manage.py


+ 0 - 0
Day31-Day35/oa/oa/__init__.py → Day41-55/oa/oa/__init__.py


+ 0 - 0
Day31-Day35/oa/oa/settings.py → Day41-55/oa/oa/settings.py


+ 0 - 0
Day31-Day35/oa/oa/urls.py → Day41-55/oa/oa/urls.py


+ 0 - 0
Day31-Day35/oa/oa/wsgi.py → Day41-55/oa/oa/wsgi.py


+ 0 - 0
Day31-Day35/oa/static/css/bootstrap.min.css → Day41-55/oa/static/css/bootstrap.min.css


+ 0 - 0
Day31-Day35/oa/static/images/mm.jpg → Day41-55/oa/static/images/mm.jpg


+ 0 - 0
Day31-Day35/oa/static/js/bootstrap.min.js → Day41-55/oa/static/js/bootstrap.min.js


+ 0 - 0
Day31-Day35/oa/static/js/jquery.min.js → Day41-55/oa/static/js/jquery.min.js


+ 0 - 0
Day31-Day35/oa/templates/dept.html → Day41-55/oa/templates/dept.html


+ 0 - 0
Day31-Day35/oa/templates/emp.html → Day41-55/oa/templates/emp.html


+ 0 - 0
Day31-Day35/oa/templates/index.html → Day41-55/oa/templates/index.html


+ 0 - 0
Day31-Day35/res/django-index-1.png → Day41-55/res/django-index-1.png


+ 0 - 0
Day31-Day35/res/django-index-2.png → Day41-55/res/django-index-2.png


+ 0 - 0
Day31-Day35/res/er-graph.png → Day41-55/res/er-graph.png


+ 0 - 0
Day31-Day35/res/http-request.png → Day41-55/res/http-request.png


+ 0 - 0
Day31-Day35/res/http-response.png → Day41-55/res/http-response.png


+ 0 - 0
Day31-Day35/res/mvc.png → Day41-55/res/mvc.png


+ 0 - 0
Day31-Day35/res/runserver.png → Day41-55/res/runserver.png


+ 0 - 0
Day31-Day35/res/web-application.png → Day41-55/res/web-application.png


+ 0 - 0
Day31-Day35/shop/cart/__init__.py → Day41-55/shop/cart/__init__.py


部分文件因文件數量過多而無法顯示