【问题标题】:How to make update in Django webservice made in python on windows如何在 windows 上用 python 制作的 Django webservice 中进行更新
【发布时间】:2013-12-06 21:09:44
【问题描述】:

我已成功安装Python 27

关于项目要求,我还安装了以下软件包。

Django==1.4.3

MySQL-python==1.2.4

PIL==1.1.7

South==0.7.6

argparse==1.2.1

distribute==0.6.28

django-appconf==0.6

django-imagekit==2.0.2

pytz==2012j

six==1.2.0

wsgiref==0.1.2

现在的问题是,我不知道如何让它运行,或者在 python 中可见。

任何人都可以帮我摆脱困境。

我必须更改一些网络服务,并且还想添加一些功能。

此网络服务附在 wordpress 网站上。

所以,请帮我在本地(Windows PC)上配置整个这个项目。

提前致谢

【问题讨论】:

    标签: django windows wordpress web-services python-2.7


    【解决方案1】:

    对于这个问题,请使用 Django 的 Touch 命令,

    我认为它会对你有所帮助。

    谢谢!

    【讨论】:

      【解决方案2】:

      我已经解决了这个问题,为有相同疑问的用户找到以下说明:

      Restarting the Spawned Server
      
      If you change any Python code on your site, you’ll need to tell FastCGI the code has changed. But there’s no need to restart Apache in this case. Rather, just reupload mysite.fcgi – or edit the file – so that the timestamp on the file changes. When Apache sees the file has been updated, it will restart your Django application for you.
      
      If you have access to a command shell on a Unix system, you can accomplish this easily by using the touch command:
      

      触摸 mysite.fcgi

      更多信息: http://www.djangobook.com/en/2.0/chapter12.html

      谢谢

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2019-11-29
        • 1970-01-01
        • 2014-11-04
        • 2020-11-24
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多