Where to Find Free Chinese Django Tutorials: A Complete Guide to the free-programming-books-zh_CN Repository
You can find nine free Chinese Django tutorials and documentation sets in the README.md file of the justjavac/free-programming-books-zh_CN repository, specifically between lines 772 and 781.
The free-programming-books-zh_CN project is a curated, community-maintained collection of freely available programming books and tutorials in Simplified Chinese. If you are looking for free Chinese Django tutorials, this repository serves as the definitive index, organizing resources ranging from official documentation translations to step-by-step blog-building guides.
Locating Django Resources in the Repository
All resources in this project are cataloged within a single file: README.md. The Django subsection is nested under the Python framework section and spans lines 772 through 781.
To view the section directly in your browser, navigate to: https://github.com/justjavac/free-programming-books-zh_CN/blob/main/README.md#L772
The entries follow a consistent markdown format: a bolded title followed by a description and a direct hyperlink. This structure makes the list machine-readable and easy to parse programmatically.
Complete List of Free Chinese Django Tutorials
The repository currently indexes nine distinct resources covering Django documentation, best practices, and project-based learning. Here is the complete inventory as maintained in README.md:
Official Documentation and Translations
- Django 1.5 文档中文版 – A community translation of the Django 1.5 documentation hosted on ReadTheDocs: https://django-chinese-docs.readthedocs.org/en/latest/
- Django 2.0 文档中文版 – The official Django documentation translated into Simplified Chinese: https://docs.djangoproject.com/zh-hans/2.0/
Best Practices and Design Patterns
- Django 最佳实践 – A community-gathered guide to Django best practices: https://github.com/yangyubo/zh-django-best-practices
- Django 设计模式与最佳实践 – A collection of design patterns specific to Django development: https://github.com/cundi/Django-Design-Patterns-and-Best-Practices
- Django 网站开发 Cookbook – Cookbook-style snippets and recipes for common web development tasks: https://github.com/cundi/Web.Development.with.Django.Cookbook
Project-Based Tutorials
- Django 2.1 搭建个人博客教程 – A step-by-step tutorial for building a personal blog using Django 2.1: https://www.dusaiphoto.com/article/detail/2/
- Django 搭建简易博客教程 – A quick-start blog tutorial hosted on GitBook: https://www.gitbook.com/book/andrew-liu/django-blog/details
- The Django Book 中文版 – The complete Chinese translation of The Django Book (version 2.0): http://djangobook.py3k.cn/2.0/
- Django Girls 学习指南 – The Chinese version of the beginner-friendly Django Girls tutorial: https://www.gitbook.com/book/djangogirlstaipei/django-girls-taipei-tutorial/details
Programmatically Extracting Tutorial Links
Because the repository stores data in plain markdown, you can programmatically extract the Django tutorial list using Python. This is useful for building your own indexing tools or checking for updates.
Fetching and Printing Titles
This script retrieves README.md and prints all Django-related resource titles and URLs:
import re
import requests
# Raw URL of the README (raw view for easy parsing)
url = "https://raw.githubusercontent.com/justjavac/free-programming-books-zh_CN/main/README.md"
resp = requests.get(url)
readme = resp.text.splitlines()
django_section = False
for line in readme:
if line.strip().startswith("* Django"):
django_section = True
continue
if django_section:
# Stop when we hit the next top-level bullet (e.g., "* Flask")
if re.match(r"^\s*\*\s+\w+", line):
break
# Extract markdown link and title
match = re.search(r"\[([^\]]+)\]\(([^)]+)\)", line)
if match:
title, link = match.groups()
print(f"{title}: {link}")
Generating a Standalone Markdown File
To create a separate markdown file containing only the Django resources:
import requests
src = "https://raw.githubusercontent.com/justjavac/free-programming-books-zh_CN/main/README.md"
text = requests.get(src).text
# Extract the Django block
start = text.find("\n* Django")
end = text.find("\n* Flask", start)
django_block = text[start:end].strip()
with open("Chinese-Django-Tutorials.md", "w", encoding="utf-8") as f:
f.write("# Free Chinese Django Tutorials\n\n")
f.write(django_block)
Key Files and Repository Structure
Understanding the repository layout helps you navigate the resource efficiently or contribute new links.
| File | Purpose | Location |
|---|---|---|
README.md |
Central catalogue containing all tutorial links, including the Django section at lines 772-781. | Root directory |
CONTRIBUTING.md |
Guidelines for submitting new resources or updating existing links. | Root directory |
LICENSE |
Creative Commons Attribution 4.0 International license, allowing free reuse of the curated list. | Root directory |
The repository follows a single-file architecture, where README.md acts as the database. This design choice makes the project lightweight and searchable via standard text-processing tools.
Summary
- The free-programming-books-zh_CN repository aggregates nine free Chinese Django tutorials and documentation sets in its
README.mdfile. - Resources are located between lines 772 and 781, covering official Django docs, best practices, design patterns, and project-based blog tutorials.
- All content is openly licensed under CC-BY-4.0, allowing you to reuse and redistribute the curated list.
- You can programmatically extract the tutorial list using Python and the GitHub raw content API.
Frequently Asked Questions
Where exactly are the Django tutorials located in the repository?
The Django tutorials are located in the README.md file at the root of the repository, specifically between lines 772 and 781. You can view this section directly by appending #L772 to the file URL on GitHub, or by searching for "* Django" within the markdown file.
Are these Django tutorials completely free to use?
Yes, all resources listed in the repository are freely accessible without registration or payment. Additionally, the curated list itself is licensed under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), meaning you can copy, redistribute, and adapt the index as long as you provide appropriate attribution to the original repository.
How can I download the Django tutorial list for offline use?
You can clone the entire repository using git clone https://github.com/justjavac/free-programming-books-zh_CN.git and then open README.md locally. Alternatively, use the Python script provided in this guide to extract only the Django section and save it as a standalone markdown file named Chinese-Django-Tutorials.md.
Can I contribute a new Django tutorial to the list?
Yes, the repository accepts community contributions. To add a new tutorial, fork the repository, edit the README.md file to include your resource in the Django section (maintaining the existing alphabetical or logical order), and submit a pull request. Be sure to review the CONTRIBUTING.md file first to ensure your submission meets the project's quality standards and licensing requirements.
Have a question about this repo?
These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:
curl -s "https://instagit.com/install.md" Maintain an open-source project? Get it listed too →