Django官方文档的tutorials六个part全部读完之后,如何继续深入学习官方文档?
花了四天的时间走完了全部的tutorials,发现很多东西还是很复杂,想要深入的学习Django官文,但是官文太多太多了,有没有什么前辈是学过了官文的,想吸取一些经验教训,关于怎么阅读django的官方文档。
回复内容:
我猜题主是想知道如何更进一步地学习django,或者说看完了官方入门教程之后,接下来要怎么办。我非常理解题主的想法,因为我以前也有过这样的一种感觉:从简单的入门教程直接跳到繁杂的官方文档,这个跨度对于我这种智商一般的人来说,确实有点大。而且只是看完官方入门教程,我觉得对很多django的基本概念和用法的了解依旧是远远不够的,因此有必要找几个长一些的,复杂一些的,详细一些的,覆盖面更广一些的文档。我也是刚学django不久,稍微有点经验,下面就来推荐几个我认为比较不错的学习资源:
1. How To Tango With Django 1.7 (强烈推荐)
推荐理由:教程足够详细,也足够简单,关键是覆盖到的知识点远比django的官方入门教程要全面的多,通过学习该教程,你马上就可以开始着手开发自己的第一个django网站了。
2. Django Girls Tutorial Introduction (较强烈推荐)
推荐理由:依然是足够简单,不过覆盖到的面就比上面那个教程要少得多了。不过这个教程是面向真正零基础的同学的,里面甚至还提到了如何安装Python,以及Python的诸多基本语法等等。如果你是纯粹的新手,我觉得你不妨先阅读本教程,再阅读上面那个教程。
有了上面这两个教程资源,相信你已经可以独立开发一个简单的网站,接下来就是不断地完善和优化自己的网站,并勤查官方文档。官方文档永远是你的最佳拍档。
下面我再给出两个我认为非常棒的参考资源:
1.Django - Full Stack Python (强烈推荐)
推荐理由:这个基本上是一个网上资源的汇总了,关于django的方方面面都涉及到了,而且还都帮你分类好了,你可以很方便地在上面找到你所感兴趣的教程和资源,非常值得收藏下来。
2.vinta/awesome-python · GitHub (强烈推荐)
推荐理由:github上有个Awesome Python,没想到也有一个Awesome Django,awesome系列有多牛逼我就不说了,你自己点进去看看就知道了。那么多现成的第三方工具,一定会对提高你网站的开发效率大有裨益。
我并不喜欢知乎上很多针对此类问题的高票答案,它们往往都会列举出一大堆网站资源或者是书籍等等,足以把一个刚刚踏入此领域的新人吓个半死。事实上写出这些答案的答主们,又有多少是真真正正地把自己列举出来的资源和书籍,都完完整整地阅读过的呢?其实不妨根据题主的学习情况,给他提供符合其水平能力的资源或书籍推荐,且不宜太多,这样我相信效果一定是最好的。
万事开头难,当你学习一个工具或者框架最终入门之后,剩下的往往就是不断地查阅官方文档,不断地google了。而开头感到困难往往就是因为你尚未对你正在学习的东西有一个整体的把握,或者说对它包含哪些模块,通常的使用流程是什么样的没有一个比较清晰的认识。事实上,只要解决了这些问题,剩下的其实就都比较好办了。
django学习,我也在路上。题主我们共同努力吧!
PS:还有一个我认为比较不错的学习方法就是在github上面搜现成的项目,然后照着人家的源代码山寨(注意不是抄袭)一个出来。这种方法效率较高,而且学习效果也不错,题主可以考虑一下。 Django是个非常庞大的系统,因此当你觉得自己已经入门的情况下(路由、ORM、模板和表单等),建议实际做一些东西,再针对遇到的需要解决的问题来参看文档。
如果你对python本身的了解比较充分,对Django的结构理解之后很容易就可以实现一些简单的项目了。
适合练手的内容有做个Blog、微信公众号服务。再复杂一点可以做论坛、HTTP基础的IM服务端等等(当然客户端你可以是个html+js,也可以做桌面或者移动app)…… 如果特指深入学习官方文档的话,那就学其他的官方文档啊 按理来说,这时候你就能手写成品网站了。如果要继续深入理解django,应该看源代码。我一直都会用框架,但是会用不一定代表了解里面是怎么运作的,最近研究了一个小型非热门的php框架之后,有了很大收获。 不是应该写项目,碰到问题再去官方文档上查吗,talk is cheap,动手开始写吧少年 先动手吧 你用的是多少版本的?官网那个投票的例子自己照着做都有问题(O_O)。 写代码啊!看django的源码实现 练大于学,实际动手写东西吧 我和题主情况也差不多,然后开始动手写个人博客,先实现核心功能然后不断迭代呗。先动手动起来。
博客放github上了,可以看看undefine1995/django1.8_blog · GitHub

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

Steps to check the Django version: 1. Open a terminal or command prompt window; 2. Make sure Django has been installed. If Django is not installed, you can use the package management tool to install it and enter the pip install django command; 3. After the installation is complete , you can use python -m django --version to check the Django version.

Django and Flask are both leaders in Python Web frameworks, and they both have their own advantages and applicable scenarios. This article will conduct a comparative analysis of these two frameworks and provide specific code examples. Development Introduction Django is a full-featured Web framework, its main purpose is to quickly develop complex Web applications. Django provides many built-in functions, such as ORM (Object Relational Mapping), forms, authentication, management backend, etc. These features allow Django to handle large

Django is a complete development framework that covers all aspects of the web development life cycle. Currently, this framework is one of the most popular web frameworks worldwide. If you plan to use Django to build your own web applications, then you need to understand the advantages and disadvantages of the Django framework. Here's everything you need to know, including specific code examples. Django advantages: 1. Rapid development-Djang can quickly develop web applications. It provides a rich library and internal

How to upgrade Django version: steps and considerations, specific code examples required Introduction: Django is a powerful Python Web framework that is continuously updated and upgraded to provide better performance and more features. However, for developers using older versions of Django, upgrading Django may face some challenges. This article will introduce the steps and precautions on how to upgrade the Django version, and provide specific code examples. 1. Back up project files before upgrading Djan

The differences are: 1. Django 1.x series: This is an early version of Django, including versions 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8 and 1.9. These versions mainly provide basic web development functions; 2. Django 2.x series: This is the mid-term version of Django, including 2.0, 2.1, 2.2 and other versions; 3. Django 3.x series: This is the latest version series of Django. Including versions 3.0, 3, etc.

How to check the django version: 1. To check through the command line, enter the "python -m django --version" command in the terminal or command line window; 2. To check in the Python interactive environment, enter "import django print(django. get_version())" code; 3. Check the settings file of the Django project and find a list named INSTALLED_APPS, which contains installed application information.

django is the backend. Details: Although Django is primarily a backend framework, it is closely related to front-end development. Through features such as Django's template engine, static file management, and RESTful API, front-end developers can collaborate with back-end developers to build powerful, scalable web applications.

Django, Flask, and FastAPI: Which framework is right for beginners? Introduction: In the field of web application development, there are many excellent Python frameworks to choose from. This article will focus on the three most popular frameworks, Django, Flask and FastAPI. We will evaluate their features and discuss which framework is best for beginners to use. At the same time, we will also provide some specific code examples to help beginners better understand these frameworks. 1. Django: Django
