Django Auto Refresh

Auto refreshes the browser page when Django development server reloads itself. Use with companion Django app: django-autorefresh.

什么是Django Auto Refresh?

Django Auto Refresh是由Hari Mahadevan开发的Chrome扩展程序,该扩展的主要功能是“Auto refreshes the browser page when Django development server reloads itself. Use with companion Django app: django-autorefresh.”。

扩展截图

screenshot

下载Django Auto Refresh扩展crx文件

下载Django Auto Refresh扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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.                    

扩展基本信息

名称 Django Auto Refresh Django Auto Refresh
ID fhiifaacndkcjndjhjacbcnkpdghpkdc
官方URL https://chrome.google.com/webstore/detail/django-auto-refresh/fhiifaacndkcjndjhjacbcnkpdghpkdc
简介 Auto refreshes the browser page when Django development server reloads itself. Use with companion Django app: django-autorefresh.
文件大小 14.03 KB
安装次数 384
当前版本 1.1
更新时间 2015-10-28
上架时间 2015-10-28
开发者 Hari Mahadevan
付费类型 free
扩展官网 https://github.com/harikvpy/django-autorefresh
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 2,
    "name": "Django Auto Refresh",
    "description": "Auto refreshes the browser page when Django development server reloads itself. Use with companion Django app: django-autorefresh.",
    "version": "1.1",
    "background": {
        "scripts": [
            "background.js"
        ]
    },
    "icons": {
        "16": "icon_16.png",
        "48": "icon_48.png"
    },
    "browser_action": {
        "default_icon": "icon_passive.png",
        "default_title": "Django Auto Refresh"
    },
    "options_page": "options.html",
    "permissions": [
        "tabs",
        "activeTab",
        "http:\/\/localhost\/",
        "https:\/\/ajax.googleapis.com\/"
    ]
}