piquadrat/django-localdevstorage — pull request #4 by jdunck (2014-09-30 02:38:57+00:00)
Title: Fetch upstream to local

I have a view that is a wrapper over django.views.static.serve. It expects to find files at the default_storage.base_location, but it returns 404 because it is not files.Storage-aware. (static.serve checks the local filesystem.)

I wanted to be able to force the file local, so I added a hook `BaseStorage._fetch_local(name)`.