推荐学习书目
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
shoumu
V2EX  ›  Python

django 中怎么添加后台运行的进程

  •  
  •   shoumu ·
    shoumu · May 11, 2014 · 4403 views
    This topic created in 4411 days ago, the information mentioned may be changed or developed.
    现在用django做一个网站,想要同时开启一个进程不断地去获取数据,这个方法是添加到django的哪个地方?
    4 replies    2014-05-11 23:16:44 +08:00
    leojoy710
        1
    leojoy710  
       May 11, 2014
    任意脚本, cron之...
    可以考虑https://docs.djangoproject.com/en/1.6/howto/custom-management-commands/
    shoumu
        2
    shoumu  
    OP
       May 11, 2014
    @leojoy710 好的,我看看,谢谢
    messense
        3
    messense  
       May 11, 2014   ❤️ 1
    你需要 Celery
    zzNucker
        4
    zzNucker  
       May 11, 2014   ❤️ 1
    Celery +1
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   938 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 20:29 · PVG 04:29 · LAX 13:29 · JFK 16:29
    ♥ Do have faith in what you're doing.