After reading the concise Python tutorial, knowing that Django is the most common framework for Python, is it necessary to start Django learning specifically? What book/community do you use?
By the way, after learning Python and Django, what can you do to develop a Web site? Can you complete the background? Or a database?
Reply content:
Read the Django tutorial. This is a good road document.
The next thing you need to do is read the ORM documentation carefully and learn about Django's design ideas.
In the next step, you'll find yourself already reading the Django core source code, because the documentation is never enough.
Premature optimization is the source of all evil.
When there is a new Django release, always read the release notes first to learn about new features brought by the new version and the deprecated and deprecated APIs.
One point that applies to almost all of the learning process is not to read Chinese documents forever. Otherwise you will find that you are translating the Chinese document back to English in order to understand the meaning of its description and to guess the meaning of the translator's translation with the content of the translated content due to the guesswork caused by not knowing the proper noun. 1. Read the Django Book
Chinese version, do it
2. Read the Django documentation
Fully understand, have problems, direct operation
3. Read the source code, the latest is 1.6 bar.
4. Write a related experience for yourself.
Please follow the 1~4 order.
Thanks to @virusdefender hint, the Chinese Django book has some errors, and the outdated places.
I was looking at the English:-) directly read Django's official document, which is already well-written. Talk about my own learning process:
Documentation:
There are not many Chinese books on Django, I'm from the Django book
Start learning, this document can help you get started.
Some very detailed things that need to go to Django documentation
Check it out.
Actually using Django for a while to find out, more often than not, is looking at Django documentation
。
Video Tutorials:
NetEase Cloud Classroom: Python Django Quick Web Application Development Introductory Course Details
Multi-Bay Network: http://www. Duobei.com/search? Word=django&c=all
An example:
Welcome to Django by Example
My Practice:
With Django, you can do the business logic layer, of course, you can generate the HTML, you can generate the database table, but my project is HTML and database are developed separately, with Django do forms, database validation related things.
Thanks to Python's rich modules, Django can do a lot of things, and it's very efficient to develop.
As for the shortcomings, seemingly developed product performance is relatively poor.
Off topic:
To develop the site, it is best to learn more about databases, HTML+JAVASCRIPT+CSS, HTTP and other knowledge. My Python Quick Tutorials
The last part is the Django tutorial. You can refer to it for a moment.
After you finish your study, you can complete the backstage. Official documents I remember that there is a Chinese version, first carefully read, there is a general impression, know how to write the function, which Django functions. Then began to write, while checking the document side write, error direct Google. Failure a few times does not matter, seriously survived this, and then learn the other web framework is smooth, a lot of similarities, a bit on the pass.
I was transferred from the flask, directly while reading the document side write, need what function is to check. I use flask time is also direct write, Python at that time not, read a day or two grammar to write, encountered to time format ah, will not be inside to find out.
Grammar is not a problem, the document is not a problem, the practice can be more memorable, but also more experience. Perhaps some people say that I am not so careless system. But at the beginning of learning too deep, actually do not understand, see a little feel. When going to practice, some sentiment, and then to see the article Books, sentiment is not the same. Gradual, rapid development, the use of their own comfortable, the problem can be resolved on the OK. After studying Python, I wanted to learn Django, and I recently organized a
Django New Learning Groupand begin to learn while doing project practice. Right now to the first week, the team is doing a Blog program, although simple, but enough to take you into the Django development door, welcome to follow us, and look forward to your suggestions and comments.
Let's talk a little bit about how the group works: we have a panel discussion every weekend to discuss the next week's development, and everyone learns the documentation according to their assigned tasks. But not only after the completion of their work is done, everyone in the process of learning to teach their own things to the whole group to listen to (mainly write a job related to their own documents), so that the other members understand what you do, so you not only learned what you should learn, but also learned the other team learned things.
We are currently working on the first week of the project, the first week of the study document has come out, published in the book: The Django Study Group produced: To do a simple blog first week document (tutorial)
。 I posted the summary, interested friends can go to Jane's book read the original.
Also welcome to our GitHub Organization homepage
, the relevant source code for all projects will be uploaded to GitHub. Updated weekly, but the amount of code is small, to ensure that the new acceptance of the scope, so that the novice can fully keep up with our learning and development progress.
Summary of the first week's documentation: this week our group completed the construction of the Blog home page.
This section is the beginning of the Django Blog Project and is the collective learning achievement of the Django Learning group . The Django Learning Group is an organization that I initiated to promote the learning and mutual help of Django novices. The team will complete three projects together while learning Django:
- a simple Django blogto publish your team's weekly learning and development documentation
- The Django China Community , which provides a long-term maintenance Django community for domestic Django developers, gathers Django developers across the country to the community
- The Django Quiz community , similar to Segmentfault and StackOverflow but more focused (focusing only on Django-developed issues) in the question-and-answer community
The team is currently completing the first project, which is the documentation for the first week of the project.
For more information please follow our GitHub organization homepage and the relevant source code for this tutorial project has also been uploaded to GitHub.
At the same time, you can also join our mailing list django_study@groups.163.com, keep an eye on our news, we will send the weekly detailed development documents and code through the mailing list.
If have any suggestion, welcome to mention Issue, welcome Fork,pull request, of course also don't forget starred Oh!
Updated weekly, stay tuned
--by Django Learning Group, look forward to your suggestions and comments I started with the Django official Tutorial + the Django book.
Then, if you are a familiar WordPress blogger, you can do a similar wordpress, with their own personality of the multi-person blog system, after the completed, Django qualified to get started
Then, you can look at how to open a restful API to your blog system
PS: Don't forget to deploy, I usually deploy based on Nginx and Uwsgi 20160309 modifications
According to this period of study, I also reconstructed my blog, Welcome to visit some Cold bin's blog
, the source code is still in the changes, after the changes will be uploaded to GitHub. The front end is implemented by Bootstrap.
—————————————————— Split Line ——————————
Landlord can look at my own time to write Django notes, this is my blog wyb199026 blog
。 Some of the details of the place I have also written, this is the finished website dot Cold bin's Blog
, I built it with SAE and there are still some features that need to be optimized. Source Address: Diandianhanbin/myblog GitHub
In fact, I think the best way to learn is to look directly at the official documents, I am based on their own ideas according to the official documents written out, other people's things can only give you reference, and ultimately the need to write their own research after the meaning.
PS: I'm a beginner, too. I'm getting started with the tango with Django: What to tango with Django:a Python Django Tutorial
, in addition to the official tutorial brush once again, benefited a lot.