Beijing Work Documentary----4th day

Source: Internet
Author: User

On the 4th day, Sphinx (the tool for writing online documents) made a big head last night. At 12 o ' Night, I couldn't stand it.

Yesterday's task was done, using the original Django implementation of a complete addition and deletion of the search. There is a lot more to know about the Django model. Made a many-to-many relationship to add. For example, add a field in A,a with the contents of B in the following steps:

1, the first to make a new save model A. ----Saving of a table data

2, the Model A's association model B to do the loop add can be. -----The preservation of A and B related tables

Immediately feel the use of the model is not so awkward, in addition to some complex query, simple can be practical.

The importance of official documents, after a problem, first of all to check the official documents, even in English (a little dizzy ah ~).

PS: After going to bed early, old ~ now still dizzy ~

                                                                                                                      corner1024

June 17, 2015 8:25

Beijing Work Documentary----4th day

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.