Skip to main content

LiveReload with the Django development server

Project description

Application performing a LiveReload with tiny-lr once the development server is ready.

Why this project ?

I recently started using Gulp and LiveReload to automatize some tasks. Everytime an HTML, CSS or JS file changes, a livereload is performed in the browser to reflect those changes, and I was pretty happy with that.

But I found one limitation, I cannot perform a livereload of the current page when editing Python files because the development server provided by Django is not necessary ready as soon as the livereload request is emitted.

That’s why I created this application.

Installation

  • First install the package on your system:

    $ pip install django-livereload
  • Then register the 'livereload' application in your INSTALLED_APPS setting, after the 'django.contrib.staticfiles' application if used.

Usage

If the livereload server provided by tiny-lr is launched (via Gulp, Grunt or whatever), the runserver command will do a livereload on your browser whenever the Django development server is ready.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-livereload-1.0.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

django_livereload-1.0-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-livereload-1.0.tar.gz.

File metadata

File hashes

Hashes for django-livereload-1.0.tar.gz
Algorithm Hash digest
SHA256 1a7b756dbfb49945461e6502a46ff363570165646b19d4fb40cdfd1e9df8362f
MD5 662eb655287f8ce1e4abd1afa67ce989
BLAKE2b-256 a729bb37b67748152c887b7a81f98b3e1b64b2f6e7bcc9506b579fdfebfbf13e

See more details on using hashes here.

File details

Details for the file django_livereload-1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_livereload-1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5ab089887f1fbb0e4ce7e7f909287a7af3c1f208f93e670a8ffeeeab615bfb68
MD5 abdbf92cc44ae4cd556fda14de6376fd
BLAKE2b-256 515a12b52e99b3338333b56affbedfdcf68c42247f95e4a54eb0b43740d61b2e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page