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
Built Distribution
File details
Details for the file django-livereload-1.1.tar.gz
.
File metadata
- Download URL: django-livereload-1.1.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bd61b7b83744bb8a433f1165441722896f04902cfb0beb0bb0780b2587fb989 |
|
MD5 | 230fcc6c8981a05ccd24a28ac0bd86e9 |
|
BLAKE2b-256 | eed03bbcefc4e1e2b8055bc778dc036bf0f24f6409fedbcea6a5731417331b40 |
File details
Details for the file django_livereload-1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: django_livereload-1.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 965aafc07eaad4e1561b6f7efa2dae68c2dec2754de6031f6de1887f6eed1adf |
|
MD5 | 77281a23d39a36ce450db2ff2cbf0a03 |
|
BLAKE2b-256 | cf5725b8e6118029b6644c8c384593823d5da92e739217e2e521ff11c2335b79 |