def _get_upload_progress_tracker(upload_id):

    def _progress_tracker(current, total):
        cache.set(upload_id, {'inProgress': True, 'current': current, 'total': total}, ONE_HOUR)
    return _progress_tracker
def _get_upload_progress_tracker(upload_id):

    def _progress_tracker(current, total):
        cache.set(upload_id, {'inProgress': True, 'current': current, 'total': total}, ONE_HOUR)
    return _progress_tracker