V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
Livid
268.79D
569.43D
V2EX  ›  Python

Tools for developing Django projects

  •  
  •   Livid ·
    PRO
    · Oct 25, 2013 via iPhone · 4250 views
    This topic created in 4574 days ago, the information mentioned may be changed or developed.
    8 replies    1970-01-01 08:00:00 +08:00
    ritksm
        1
    ritksm  
       Oct 25, 2013
    简单说就是alias+pip+virtualenv+virtualenvwrapper+pycharm...
    Livid
        2
    Livid  
    MOD
    OP
    PRO
       Oct 27, 2013
    里面提到的 GitX 是一个很有用的工具。

    git commit -a 是一种非常不好的习惯。
    laomo
        3
    laomo  
       Oct 27, 2013
    @Livid 求解释
    git commit -a 是一种非常不好的习惯。
    freefcw
        4
    freefcw  
       Oct 27, 2013
    @laomo

    1. 你不能保证当前目录的所有文件就是需要提交的,很容易导致误提交,比如cache,logs,swp等
    2. git的stage功能你没有用到,可以将需要提交的和不需要提交的文件分离
    3. 更高级的stage hunk功能,能够让你把一个文件中的部门代码提交,另外一部分修改的代码不提交
    4. 一处代码的修改单独提交有助于自我review代码

    切勿仅仅为了偷懒而偷懒
    freefcw
        5
    freefcw  
       Oct 27, 2013
    @Livid

    gitx的开发太紊乱了。。如果没有开源癖好的话,我比较推荐免费的sourcetree,支持git和mercurial,界面也比gitx更好用一些,有问题响应都很快
    laomo
        6
    laomo  
       Oct 27, 2013
    @freefcw 感谢,看来我只是用到了git的基本功能。一般是用git commit -a 。。。
    提交之前习惯性 git difftool
    yaroot
        7
    yaroot  
       Oct 28, 2013
    1. 你不能保证当前目录的所有文件就是需要提交的,很容易导致误提交,比如cache,logs,swp等
    yaroot
        8
    yaroot  
       Oct 28, 2013
    这个肯定得.gitignore了...看情况用呗..我基本改完一个功能提交一点..
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2499 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 15:13 · PVG 23:13 · LAX 08:13 · JFK 11:13
    ♥ Do have faith in what you're doing.