V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
ansheng
V2EX  ›  Python

自学 Django 你有什么好推荐的路线?

  •  
  •   ansheng ·
    anshengme · 2016-11-12 23:39:06 +08:00 · 3262 次点击
    这是一个创建于 2734 天前的主题,其中的信息可能已经有所发展或是发生改变。

    之前学过 Django ,除了模板不用(用 Vue ),其他的都想去深究下,目前打算撸官方文档,不知道这条路对不对~

    8 条回复    2016-11-13 18:20:44 +08:00
    wingyiu
        1
    wingyiu  
       2016-11-12 23:58:16 +08:00
    愚蠢的问题
    zhusimaji
        2
    zhusimaji  
       2016-11-13 00:07:53 +08:00 via Android
    看到安生了, django 自学无路线直接玩
    nisekoi
        3
    nisekoi  
       2016-11-13 00:22:09 +08:00 via iPhone
    我也在学,目前是官方文档大致看一下,然后做项目,遇到问题再查文档
    ldehai
        4
    ldehai  
       2016-11-13 08:39:29 +08:00   ❤️ 1
    @ansheng 如果有 Python 基础,可以直接找一套 Django 的开源代码边看边改。如果没学过 Python ,可以两个一起学。

    https://github.com/search?o=desc&q=django&s=stars&type=Repositories&utf8=✓
    ansheng
        5
    ansheng  
    OP
       2016-11-13 10:37:25 +08:00
    @wingyiu haha
    bravecarrot
        6
    bravecarrot  
       2016-11-13 11:38:31 +08:00
    先把 Tutorial 的网六部分看一遍,就能了解基本的流程了。

    然后官方文档已经很完善了,写 model 就看 model 部分,写 view 就看 view 部分,很方便。
    属性和方法不清楚的直接翻源码就好啦。
    推荐 django 的 irc ,也不用说话,看别人的问题就能学到很多了。
    早年基础不好,用了两个月才写出一个能用的东西。对 Python 的熟悉程度高了很多。

    供参考
    ansheng
        7
    ansheng  
    OP
       2016-11-13 11:53:16 +08:00
    @bravecarrot 有对应的 URL 吗?
    lichun
        8
    lichun  
       2016-11-13 18:20:44 +08:00
    Django 开发的知名项目,像 Sentry 可以用来参考
    https://github.com/getsentry/sentry

    还有一些个人开发的论坛,博客也也可以看看
    https://github.com/qulc/bootcamp
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1005 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:29 · PVG 05:29 · LAX 14:29 · JFK 17:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.