Django is an open source web application framework written in Python that provides a suite of tools and features for the rapid development of secure, scalable and efficient web applications. Django is based on the MVC (Model-View-Controller) architecture model and adopts best practices to emphasize the reusability and maintainability of the code. Its design philosophy is DRY (Don't Repeat Yourself), which enables developers to focus on business logic without having to build all components from scratch by providing many built-in features and off-the-shelf solutions. This open source project aims to explain to you the basic Django project creation and the writing of simple programs.
This project example is a product inventory and query system. Through the data table we built, the detailed information of the product is stored in the database, and the query data can be filtered according to conditions to obtain detailed product or product category information.
Online reading address: https://likechen.gitbook.io/sweettalk-django4.2/
Learning cycle: 8 days, the average time spent between 1 hour and 2 hours per day, and it fluctuates according to the strength of individual learning acceptance.
Learning Form: Theoretical Learning + Practical Exercises
Crowd Positioning: A certain Python foundation is required
Difficulty coefficient: Medium
If you feel that there are any errors in this project, you can click here to submit the content you want to add. We will supplement it as soon as possible after seeing it.
This project has clear and concise teaching documents and matching after-class exercises.
The project development process involves design, development, debugging and other links, which will make you familiar with the entire life cycle of web applications.
| Datawhale Open Source Learning | Getting started with Django backend development |
|---|---|
| 202308 | 54 people |
| 202310 | 89 people |
| 202312 | 59 people |
| 202405 | 33 people |
| content | Details | Update time | write | Review |
|---|---|---|---|---|
| P11, P12 Content Merge | Merge ModelViewSet, DefaultRouter and custom functions | 2023/12/07 | Guo Dandan | Yuan Bowen |
| P8 Content expansion | QuerySet and Instance supplement related concepts and code examples | 2023/12/07 | Yuan Bowen | Zhang Haisheng |
| P10 Content Supplement | Advanced use of Django Serialization Supplementary related concepts and examples | 2023/12/07 | Zhang Haisheng | Liu Jianjian |
| Add new content to P12 | Introduction to Postman and domestic API debugging tools Introduction to adding API tools | 2023/12/07 | Guo Dandan | Li Kechen |
| Add new content to P13 | Django after-class exercises Add Django after-class exercises | 2023/12/07 | Liu Jianjian | Zhang Haisheng |
| Improve P07 content | Build data tables in the view set and improve the process of adding new data query data | 2023/12/17 | Zhu Min | Li Kechen |
Project leader: Li Kechen
Email: [email protected]
![]() Li Kechen Nanjing University of Aeronautics and Astronautics Lincheng Technology | ![]() Zhu Mengyu Nantong Institute of Technology Lincheng Technology | ![]() Zhang Haisheng Nantong Normal College Lincheng Technology | ![]() Zhou Huan Wuhan Business School Lincheng Technology |
Special thanks to Sm1les, Hu Ruifeng and Zhou Lixuan for their help and support for this project.
Special thanks to the students who contributed to the tutorial below!