django-queued-storage is a Django storage backend that enables having a local and a remote storage backend. It will save any file locally and queue a task to transfer it somewhere else using Celery.
If the file is accessed before it's transferred, the local copy is returned.
pip install django-queued-storage
- Follow the configuration instructions for django-celery
- Set up a caching backend
- Add 'queued_storage' to your INSTALLED_APPS setting