search

Home  >  Q&A  >  body text

python - 如何去掉django项目中的提示,在启动django项目后,提示如下

Starting seahub...
!!!
!!! WARNING: This command is deprecated.
!!! 
!!!     You should now run your application with the WSGI interface
!!!     installed with your project. Ex.:
!!! 
!!!         gunicorn myproject.wsgi:application
!!! 
!!!     See https://docs.djangoproject.com/en/1.5/howto/deployment/wsgi/gunicorn/
!!!     for more info.
!!!

Seahub running on port 8000
Done
阿神阿神2889 days ago300

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 17:42:29

    Translation:

    警告:这个命令已经弃用。
    你现在应该使用和项目一起安装的WSGI接口来启动你的应用,举个例子:
    
        gunicorn myproject.wsgi:application
    
    到 https://docs.djangoproject.com/en/1.5/howto/deployment/wsgi/gunicorn/ 获取更多信息。

    However, for thisDjango1.5版本的链接也已经废弃,所以估计题主看了很老的Django教程,要么使用了奇怪的gunicornDjango版本。
    编程的发展速度飞快,如果题主是新学Djangoor any new technology, you should learn the latest, at least newer content.

    reply
    0
  • Cancelreply