Python beginners want to write a blog through the Django framework and complete the task within one month. How can they arrange the general learning route?

Source: Internet
Author: User
Updated two years later: I am now working on Python. Look at yourself. It's naive. Continue to cheer up. Updated two years later: I am now working on Python. Look at yourself. It's naive. Continue to cheer up. Reply content:
  1. One hour to see python syntax and basic data types: http://woodpecker.org.cn/abyteofpython_cn/chinese/;
  2. One hour's reading of the HTTP basics and knowing how the browser sends requests (Google searches for "HTTP requests ");
  3. Django docs https://docs.djangoproject.com/en/1.4/ once a day;
  4. At the same time, the environment allows django applications to run;
  5. Open the python manual, open the django manual, open google, and start writing it. If you don't know what to do, search google.
The first two days were quite sad, because there was nothing, the concept was unclear, and the sense of frustration was strong. I was naturally familiar with the language and concepts I wrote for two days, and the rest was about tossing the class library. The problem is getting old. I will send a tutorial for later reference.
If you already have Python and Django basics, you can directly read this Python-Django to build a simple blog.
Teach you how to use Django to develop a simple blog involving Django Web development, MVC, Template, etc.

If you are not familiar with Python or Django, follow the steps below.
Python-Python quick tutorial
Python-Python Django Web Framework In fact, the difficulty lies not in programming languages (such as Python), but in your web knowledge.
When I blog, I feel that the most time-consuming is the demand, database design and user experience. These require a lot of experience to do well. Therefore, it is recommended that you first use excellent blog software to determine where you can do better and then start.
With your own development process, it may be helpful: the development process of dota2 blog It is very convenient to use django to write the background, and it will be ready soon. However, I think the key to a blog is front-end display. Apart from learning django, you have to learn something about the front-end. If there are HTTP, HTML, CSS, JS basics, just look at two things
1. This is an entry-level python textbook. learning python is recommended.
2. Follow the four entry steps in the official documents for Django textbooks. Next, you need to read the documents for that part. However, we recommend that you read the documents in a complete and practical manner, because you may have doubts or feel that you have already met, the document has already mentioned or has a better solution. After learning python, I want to learn django. I recently organized New django Study GroupAnd start to learn and practice projects. As of the first week, the team is working on a Blog program. Although it is simple, it is enough to bring you into the django development gate. Welcome to follow and look forward to your suggestions and comments.

A Brief Introduction to the group's Operation Model: we will hold a group discussion every weekend to discuss the development content of the next week. Each person will learn the relevant documents based on their assigned tasks. But it's not just about finishing your work, in the course of learning, everyone should also tell the people in the group what they have learned (mainly to write a document related to their work ), let other members understand what you did, so that you not only learned what you should, but also learned what other members learned.

At present, we are working on the project for the first week. The learning documents for the first week have been published in the short book: Django Learning Group: let's make a simple Blog first week document (Tutorial ). I posted the abstract Part. Interested friends can read the original text in the simplified book.

In addition, you are welcome to follow our github organization homepage. The source code of all projects will be uploaded to github. Updates are updated every week, but the amount of code is small. Make sure that you are within the scope of acceptance of new users, so that new users can keep up with our learning and development progress.

Summary of the document for week 1: this week, our team completed the establishment of the Blog homepage.

This section is the beginning of the django blog project.Django Learning GroupThe results of collective learning.Django Learning GroupIt is an organization initiated by me to promote the mutual learning and help of New django beginners. While learning django, the group will complete three projects:

  • A simple django blogUsed to publish weekly learning and development documents of a group.
  • Django Chinese communityTo provide a long-maintained django community for Chinese django developers and gather django developers from all over the country to this community.
  • Django Q & A community, Similar to segmentfault and stackoverflow, but more focused (only focused on django development issues) in the Q & A community

The team is currently completing the first project. This article is the relevant documentation for the first week of the project.

For more information, see our github homepage. The source code of this Tutorial Project has been uploaded to github.
At the same time, you can also join our mailing list django_study@groups.163.com, stay tuned to our dynamics at any time, we will send weekly detailed development documentation and code via the mailing list.
If you have any suggestions, please refer to Issue and fork and pull request. Of course, don't forget Starred!
Updated every week. Stay tuned.

-- By Django Learning Group, we look forward to your suggestions and comments for reference to the open class Udacity CS253: Classroom-Udacity Although the framework uses webapp2, it can be used as the basis. We recommend that you first clarify your purpose:
If you want to learn, you should learn python and http-related knowledge. django is convenient for development, but it is not suitable for learning web development knowledge;
If you only use wordpress to create a personal blog, it is much better than you write it. As a teenager of "getting python through django", of course it is

1. Follow tutorial to learn about django modular development.
2. Flip the doc to learn about m v c and how to interact with the database.
3. Learn how to configure and Customize settings. py
4. Learn the front-end js of the template markup language, especially ajax.

Then you will find that django coupling is too high, and you will learn the web in turn. py is so free. If you want to use a template engine, you can use a template engine. You have the habit of developing modules under django.

Last post a user management project http://github.com/raphaelsoul/supermilai that I wrote based on django's built-in permission Module

Some bugs have not been fixed, so you should be cautious about it. If you are learning Python, you can try it like this:

1. Learn Python The Hard Way 2nd: http://learnpythonthehardway.org/book/

2. The Django Book: http://fy.py3k.cn/

3. Documents: http://blog.csdn.net/lanphaday/article/details/6204639

For reference only. Thank you.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.