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
官方網址 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\/"
    ]
}