Django introduction Learning Planning and data recommendation

Time:2020-10-14

This article summarizes my learning experience of Django for more than a year, and recommends some high-quality learning materials and tutorials to help you quickly learn about Django, so that you can quickly master the basic Django development technology in one to two months, and be able to use Django to launch some small projects, such as a blog website or forum website.

Official introduction to Django

This is the only tutorial I recommend for anyone who’s ready to learn about Django developmentOfficial introduction to Django。 This seven part tutorial takes you through the development of a poll site from scratch using Django. Each part of the tutorial covers a core feature of Django, which helps you to fully understand what is involved in Django development. And this is the official tutorial, its authority is any other introductory course on the Internet incomparable.

I suggest that Django beginners spend about a week following the tutorial from the beginning to the end, and make sure to type the code themselves, not copy and paste the code in the tutorial. Don’t read some other online tutorials or books without digesting and understanding this tutorial. I made this mistake at the beginning. As soon as I went to see some unofficial introductory tutorials recommended by netizens, I left the official course aside. As a result, it was very hard to learn, and the effect was not good, which wasted a lot of time.

At present, the latest stable version of the official introductory course is Django version 1.10. I suggest that you should learn the latest version without any special needs. Tutorial address:Official introduction to Django 1.10

Django’s official documents are only in English. If you have trouble reading English documents, well meaning netizens have provided a Chinese translation version. However, the Chinese translation version is aimed at Django version 1.8, which has poor timeliness. Chinese version of the course address:Django 1.8 official introductory course Chinese version

The django book 2.0

This book can be called the Bible of Django introductory learning, and the first Django learning material I contacted was it. This book can be seen as an enrichment of Django official documents. It extracts the most commonly used parts of Django documents and explains them. After learning, you can have a preliminary understanding of the API provided by Django.

However, please note that the Django version that this book relies on is already very old Django 1.1, so many of its contents are out of date. Fortunately, this online book provides a comment function, so there are well meaning netizens to make comments on the outdated places. Just look at these comments and you can solve the problems that may be encountered due to incompatible versions. So even though the book is seriously out of date, it is highly recommended that you spend about a week reading through the book.

This book has a Chinese version translated by netizens. The quality is not badThe Django Book 2.0 Chinese version

Introduction to Django blog development

With the above learning foundation, we can use Django to develop some more complex websites, such as a blog website. This tutorial will take you step by step using Django to develop a fully functional personal blog site from scratch. This can be used as a Django introductory tutorial, or as a Django development hands-on project. I suggest that you should spend one or two weeks after learning the official introductory course of Django from beginning to end, and make sure you type the code yourself, and don’t copy and paste the code in the tutorial.

What’s more, this tutorial is written in Chinese. According to the feedback from readers, the author is constantly updating and improving the content of the tutorial, helping you to solve the problems encountered in the course of learning. The complete code of the tutorial can also be obtained from GitHub.

Reading address:Introduction to Django blog development

How To Tango With Django 1.7

Compared with the above-mentioned tutorials, the biggest feature of this tutorial is that it is very detailed and covers a very comprehensive content. It includes not only the content of Django development, but also the use of bootstrap, JavaScript and Ajax technology. This tutorial takes you step by step to achieve a beautiful interface, user experience good navigation site. I suggest that you spend two weeks following the tutorial from beginning to end, and make sure you type the code yourself, and don’t copy and paste the code in the tutorial.

Reading address:How To Tango With Django 1.7

Help seeking skills in case of problems

In the development process, it is inevitable to encounter many problems. At this time, we should be good at using the community and search engine to help us solve the problems. Don’t shut the door by yourself. Sometimes you can’t solve the problem for a few days. If someone reminds you, it will make you suddenly open. I would like to share with you how I usually ask for help when I have problems.

The first and most important point is toAbandon Baidu。 From my personal experience, most of the questions about Django development are hard to find in Baidu. Compared with Google, I usually use Google search when I encounter problems. I use the keyword Django + to describe the problem in English. More than 90% of the problems can be solved in Google’s search results, and I hardly need to turn to others. If you don’t have a proper scientific way to get online, you can also use Yahoo search or Bing search instead.

If Google can’t solve your problem, the preferred help community is stackoverflow, a Q & a platform designed to solve developers’ problems in development. Of course, this website is in English, and it needs a certain scientific way to access the Internet smoothly. If these factors may hinder you from visiting the website, there is a similar Chinese version website called segmentfault in China. You can ask questions and ask for help here, but the efficiency of solving the problem will be worse than that on stack overflow.

If the above methods can not effectively solve your problem, you can email to [email protected] For help, I will help you as much as I can. Email will reply within 24 hours, or go directly to my blog to leave a message. Blog address:Blog of dreamers

summary

The study of the above several tutorials will take about 1-2 months. After learning, you can basically master the basic development technology of Django, and can use Django to develop some personal small projects. The next step is to start reading systematicallyDjango 1.10 official documentNothing is more detailed and authoritative than Django’s official documents. While learning documents, find some small projects to practice, such as using Django to develop personal blog and constantly improve the function, recording the learning experience on the blog; writing a forum or other types of website with Django, etc. We must keep practicing. The only way to master Django development is to persevere in the spirit of oil seller. I wish you a happy learning journey of Django.

In addition, communicating with other Django developers is also an important way to learn Django well. Here are a large number of experienced Django developers, who can provide valuable help to you when you learn Django, and look forward to your joining.

QQ group of Django learning group: 561422498

Recommended Today

Blog based on beego, go blog

Go Blog A beego based development, can quickly create personal blog, CMS system Include functions see Official website of go bloggo-blog.cn Demo siteleechan.online Update log time function January 23, 2020 New top post function February 2, 2020 New custom navigation function February 4, 2020 New site announcement function February 6, 2020 New link module February […]