{"id":13625802,"url":"https://github.com/the5fire/django-practice-book","last_synced_at":"2026-01-23T17:10:15.027Z","repository":{"id":145132821,"uuid":"95114514","full_name":"the5fire/django-practice-book","owner":"the5fire","description":"《Django企业开发实战》已出版","archived":false,"fork":false,"pushed_at":"2019-06-10T12:43:12.000Z","size":263,"stargazers_count":309,"open_issues_count":22,"forks_count":121,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-16T12:19:44.360Z","etag":null,"topics":["django","django-admin","django-blog","django-ckeditor","django-rest-framework","django-xadmin","django2","python-web-development","python3"],"latest_commit_sha":null,"homepage":"http://django-practice-book.com/?fr=github","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/the5fire.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-06-22T12:43:06.000Z","updated_at":"2025-03-12T06:48:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"19d37d3a-0c58-446a-8f80-31d5f5597a90","html_url":"https://github.com/the5fire/django-practice-book","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/the5fire/django-practice-book","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the5fire%2Fdjango-practice-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the5fire%2Fdjango-practice-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the5fire%2Fdjango-practice-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the5fire%2Fdjango-practice-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the5fire","download_url":"https://codeload.github.com/the5fire/django-practice-book/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the5fire%2Fdjango-practice-book/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28696521,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-23T15:57:05.722Z","status":"ssl_error","status_checked_at":"2026-01-23T15:56:27.656Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["django","django-admin","django-blog","django-ckeditor","django-rest-framework","django-xadmin","django2","python-web-development","python3"],"created_at":"2024-08-01T21:02:02.342Z","updated_at":"2026-01-23T17:10:15.012Z","avatar_url":"https://github.com/the5fire.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# 《Django企业开发实战》初版草稿 -- by the5fire\n\n* 博客: https://www.the5fire.com  \n* github: https://github.com/the5fire/django-practice-book\n* 配套视频: [视频版](course.md)\n* 进阶视频: [Django源码分析视频](https://www.the5fire.com/django-source-inside-catalog-by-the5fire.html)\n\n## 纸质版已上市\n\n* [图灵社区-目录和试读](http://www.ituring.com.cn/book/2663)\n\n* [![Django企业开发实战](http://file.ituring.com.cn/SmallCover/19014dfb7e0e331be8db)](https://book.douban.com/subject/30434690/)\n\n* [图灵社区购买](http://www.ituring.com.cn/book/2663)\n* [京东购买](https://item.jd.com/12537842.html)\n* [当当网购买](http://product.dangdang.com/26509799.html)\n* [亚马逊购买](https://www.amazon.cn/dp/B07N3PVGZK/ref=sr_1_1?ie=UTF8\u0026qid=1550195346\u0026sr=8-1\u0026keywords=Django%E4%BC%81%E4%B8%9A%E5%BC%80%E5%8F%91)\n\n## 疑惑解答\n\n* 问：视频和图书有什么差别\n* 答：\n    * 图书是在视频之后产出的，基于Python3.6 和 Django 1.11（LTS版本），在书最后会升级到Django 2.0，内容上会更加细致。\n    * 视频是基于Python 2.7和Django 1.11（LTS版本） 的版本，最终会升级到 Python3.6 和 Django2.0，内容上会更加动态，信息量会更大，毕竟书上不能带着你写代码，视频是可以非常直观的演示代码编写的。\n\n## 提交勘误\n\n如果你发现*纸质书籍*中存在问题，欢迎提交勘误，步骤如下:\n* 指明具体「章节」「页码」出错的部分代码或者相关信息\n* 点击[创建 Issues](https://github.com/the5fire/django-practice-book/issues/new) 来填些上面的信息。\n\n## 随书源码 \u0026\u0026 随视频源码\n\n本书对应源码和相关视频对应源码都在：\n\n[https://github.com/the5fire/typeidea](https://github.com/the5fire/typeidea)\n\n通过分支名来区分是视频还是图书，以及对应的章节，比如：\n\n分支 ``book/05-initproject`` 就是对应的图书的第五章的代码，``book/06-admin`` 就是对应的第六章的代码。\n而对应的 ``chapter7``、``chapter8``这样的是视频章节对应的代码。\n\n\n## 前言\n\n从JavaWeb开发转行到PythonWeb开发已经有6年多了，一开始就是从SSH框架转到Django，我觉得这玩意太轻便了，比SSH好用太多了。但是熟悉了Python社区之后，发现在Python中，Django确实算是一个比较重的框架。主要的原因在于它的定位：企业级开发框架，或者说全功能的Web开发框架。Web系统涉及到的方面它都有提供。这也是导致它学习成本看起来有点高的原因。\n\n在用Django的几年中，我和我们的小伙伴们用它做了N多个系统，有对内的，也有对外的，都能够很好的满足我们的需求。所以今年我就在考虑，能不能总结出来一些东西，对大家有所帮助，主要是想学习Django，但是不得其门者。\n\n于是就有了这个开始，包括这本教程，也包括配套的[视频教程](course.md)。\n\n希望对你有所帮助。关于Django的问题可以加我的QQ群:111054501(Django企业开发实践)进行交流。\n\n\n## 目标读者\n\n* 学完Python基础想要继续学习Web开发的同学\n* 想要学习Django的同学\n\n\n## Power by Django\n\nhttps://www.djangoproject.com/start/overview/\n\n前几天比较火的Instagram就是基于Django开发的，从官网上也能看到其他我们耳熟能详的产品，比如：Disqus，Pinterest，Mozilla，Sentry。\n\n\n## 生态\n\nDjango之所有被广泛应用，除了本身是提供了完备的功能之外， 也得益于它的成熟生态，框架本身没有提供的功能，会有优秀的第三方插件来补足。比如Django-rest-framework，比如Django Debug toolbar。\n\n\n## 学习曲线\n\n相对于Flask、web.py、bottle这一类的微框架来说，Django的上手确实有点复杂，但是并不难。因为官网的新手指导写的很清晰。在众多框架中，Django的文档算是相当不错的了。\n\n你需要花比学习微框架更多的时间来学习Django，是因为Django提供的内容远多于其他框架。刚开始可能会觉得很多地方不明白，但是等你熟悉了之后，会发现Django每个层所提供的功能都很清晰，什么样的需求，在哪一层来处理，会有清晰的认识。\n\nDjango的学习曲线是先陡，然后平缓上升的。先陡主要是新手需要一下子接受很多东西，但是随着之后的不断使用，不断了解，你会发现，学习所耗费的时间完全值得。你可以更快的做出完善的系统，这会是一笔很划算的投资。\n\n\n## 这本书的目的\n\n把我知道的东西、开发项目中总结的经验，融到一个Blog系统中，写出来。让后来者可以参考我的经验快速成长。\n\n\n## 勘误和提问\n\n欢迎到github上给我提Issues: https://github.com/the5fire/django-practice-book\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe5fire%2Fdjango-practice-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe5fire%2Fdjango-practice-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe5fire%2Fdjango-practice-book/lists"}