- new Django setting B2_FORCE_UNIQUE and new underlaying constructor parameter BackBlazeB2(force_unique=True)
- B2Storage() initializes as the settings.DEFAULT_FILE_STORAGE if 'B2Storage' string is not inside can be used together with @override_settings(DEFAULT_FILE_STORAGE='django.core.files.storage.FileSystemStorage') see #4
- lazy loading, to avoid running code during collectstatic,.. - #3
- bugfix: upload on Windows, thx Same Weaver, #2
- Linux abs filenames: leading "/" will be removed so we can use local abs names 1:1 to upload to b2 (in Windows: C:/.. is valid name)
- can work with django-tenant schemas, tenant aware storage django_b2.tenant_storage.TenantB2Storage
- older local media (see B2_LOCAL_MEDIA) can be cleared with management command b2_clear_local_media
- B2_LOCAL_CACHE setting renamed to B2_LOCAL_MEDIA, possible values changed to ="ML"
- !! new B2_LOCAL_MEDIA setting was in 0.3.0 named incompatible as B2_LOCAL_CACHE="FM"
- B2_LOCAL_MEDIA setting to make a local copy of files. So you can have local instances backuped on backblaze.
- B2_LOCAL_MEDIA prevents failures if the django application want immediately reopen the file (imagekits creating thumbnails, Wagtail is an example)
- backblaze_b2.py can be called as script to upload single file.
- pgtob2.sh script to backup postgres database
- No code change. Minor docs changes.
- First release on PyPI.