skip to navigation
skip to content

django-remote-finder 0.3



This is a simple package designed to solve the annoying problem of having to keep various javascript/css libraries updated within a Django package. A requirements.txt file allows us to specify external Python dependencies, but there is still no good way to keep Javascript dependencies outside the repository. Until now.

Get started by adding the following to

REMOTE_FINDER_CACHE_DIR = '/path/to/staticfile/cache'

    ('jquery-2.0.2.min.js', '', 'sha1:1e0331b6dd11e6b511d2e3d75805f5ccdb3b83df'),


And then e.g. in a template, you can write:

{% load staticfiles %}
<script src="{% static "jquery-2.0.2.min.js" %}"></script>

No more need to keep such files in the repository! ./ runserver (with DEBUG=True) will download the files as needed, as will ./ collectstatic.

NOTE: the Django documentation says “Static file finders are currently considered a private interface, and this interface is thus undocumented.” As such, this package may break unexpectedly in the future. See for details.

File Type Py Version Uploaded on Size
django-remote-finder-0.3.tar.gz (md5) Source 2013-06-19 4KB