推荐学习书目
› 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 · 4616 views
    This topic created in 4527 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   ·   Privacy   ·   Solana   ·   2355 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 11:50 · PVG 19:50 · LAX 04:50 · JFK 07:50
    ♥ Do have faith in what you're doing.