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