Django Auto Refresh 插件

Django Auto Refresh

用户数 : 168

最后更新时间 : 2015-10-28

分类 : 开发者工具

扩展大小 : 13.24KiB

版本 : 1.1

Django development server has the neat capability of reloading itself whenever the project's python source files are saved, ensuring that the latest version of the project is served at all times. However, to see the changes in the browser, you need manually refresh the relevant page or resort to incorporating a Javascript such as live.js in our source which will keep sending HEAD requests to the server to see if the page has changed and if it has reload the page.

The former approach obviously is repetitive and needlessly painful. The latter approach works fine, but it results in additional requests to your server, something that you may be able to live with or if you're like me, you don't appreciate too much.

Django-autorefresh is a solution to address this.

To use, install this plugin and add the Django app autorefresh to your INSTALLED_APPS. Django app is available at https://github.com/harikvpy/django-autorefresh.
查看更多
下载 如何离线安装? Chrome store
最新评论
更多评论
没有更多了
close
qr-code

为打击盗链困扰,本站已启用公众号验证
微信扫码关注上方公众号,回复“插件”二字获得验证码,验证码5分钟内全站有效。

无法下载
正在验证...
验证成功
下载遇到问题?请添加QQ群:194738324