Django Auto Refresh

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

Hvad er Django Auto Refresh?

Django Auto Refresh er en Chrome-udvidelse udviklet af Hari Mahadevan, og dens hovedfunktion er "Auto refreshes the browser page when Django development server reloads itself. Use with companion Django app: django-autorefresh.".

Udvidelsesskærmbilleder

screenshot

Download Django Auto Refresh-udvidelses-CRX-fil

Download Django Auto Refresh-udvidelsesfiler i crx-format, installer Chrome-udvidelser manuelt i browseren eller del crx-filer med venner for nemt at installere Chrome-udvidelser.

Brugsanvisning til Udvidelsen

                        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.                    

Grundlæggende oplysninger om udvidelsen

Navn Django Auto Refresh Django Auto Refresh
ID fhiifaacndkcjndjhjacbcnkpdghpkdc
Officiel URL https://chrome.google.com/webstore/detail/django-auto-refresh/fhiifaacndkcjndjhjacbcnkpdghpkdc
Beskrivelse Auto refreshes the browser page when Django development server reloads itself. Use with companion Django app: django-autorefresh.
Filstørrelse 14.03 KB
Antal Installationer 384
Nuværende Version 1.1
Senest Opdateret 2015-10-28
Udgivelsesdato 2015-10-28
Udvikler Hari Mahadevan
Betalingsmetode free
Udvidelseswebsted https://github.com/harikvpy/django-autorefresh
Understøttede Sprog 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\/"
    ]
}